Code: Select all
Using gdbinit file: C:\Users\G S RAO\.codelite-gdbinit
Current working dir: D:\NewFolder\cppProject\new
Launching gdb from :
Starting debugger : C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe --command="C:\Users\G S RAO\.codelite-gdbinit" --interpreter=mi "./new"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set pagingation off
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, 'C:\Users\G S RAO\AppData\Roaming\codelite\gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>end
DEBUG>>00000001-break-insert -f -t main
DEBUG>>00000002-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000003-exec-arguments
DEBUG>>00000004-exec-run
DEBUG>>Excess command line arguments ignored. (./new)
Excess command line arguments ignored. (./new)
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>&"S: No such file or directory.\n"
DEBUG>>&"D:\\NewFolder\\cppProject\\new/RAO\\.codelite-gdbinit: No such file or directory.\n"
DEBUG>>&"C:\\Users\\G: No such file or directory.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set pagingation off\n"
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>^error,msg="No symbol table is loaded. Use the \"file\" command."
^error,msg="No symbol table is loaded. Use the \"file\" command."
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&" File \"<string>\", line 4, in <module>\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/../../gcc-8.1.0/python/libstdcxx/v6/printers.py\", line 1606, in register_libstdcxx_printers\n"
DEBUG>>&" gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&" printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000001^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="main",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000002^done
DEBUG>>00000003^done
DEBUG>>00000004^error,msg="No executable specified, use `target exec'."
No executable specified, use `target exec'.
Using gdbinit file: C:\Users\G S RAO\.codelite-gdbinit
Current working dir: D:\NewFolder\cppProject\new
Launching gdb from :
Starting debugger : C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe --command="C:\Users\G S RAO\.codelite-gdbinit" --interpreter=mi "./new"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set pagingation off
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, 'C:\Users\G S RAO\AppData\Roaming\codelite\gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>end
DEBUG>>00000005-break-insert -f -t main
DEBUG>>00000006-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000007-exec-arguments
DEBUG>>00000008-exec-run
DEBUG>>Excess command line arguments ignored. (./new)
Excess command line arguments ignored. (./new)
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>&"S: No such file or directory.\n"
DEBUG>>&"D:\\NewFolder\\cppProject\\new/RAO\\.codelite-gdbinit: No such file or directory.\n"
DEBUG>>&"C:\\Users\\G: No such file or directory.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set pagingation off\n"
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>^error,msg="No symbol table is loaded. Use the \"file\" command."
^error,msg="No symbol table is loaded. Use the \"file\" command."
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&" File \"<string>\", line 4, in <module>\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/../../gcc-8.1.0/python/libstdcxx/v6/printers.py\", line 1606, in register_libstdcxx_printers\n"
DEBUG>>&" gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&" printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000005^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="main",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000006^done
DEBUG>>00000007^done
DEBUG>>00000008^error,msg="No executable specified, use `target exec'."
No executable specified, use `target exec'.
Using gdbinit file: C:\Users\G S RAO\.codelite-gdbinit
Current working dir: D:\NewFolder\cppProject\implementingmenthoda1
Launching gdb from :
Starting debugger : C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe --command="C:\Users\G S RAO\.codelite-gdbinit" --interpreter=mi "Debug/implementingmenthoda1"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set pagingation off
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, 'C:\Users\G S RAO\AppData\Roaming\codelite\gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>end
DEBUG>>00000009-break-insert -f -t main
DEBUG>>00000010-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000011-exec-arguments
DEBUG>>00000012-exec-run
DEBUG>>Excess command line arguments ignored. (Debug/implementingmenthoda1)
Excess command line arguments ignored. (Debug/implementingmenthoda1)
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>&"S: No such file or directory.\n"
DEBUG>>&"D:\\NewFolder\\cppProject\\implementingmenthoda1/RAO\\.codelite-gdbinit: No such file or directory.\n"
DEBUG>>&"C:\\Users\\G: No such file or directory.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set pagingation off\n"
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>^error,msg="No symbol table is loaded. Use the \"file\" command."
^error,msg="No symbol table is loaded. Use the \"file\" command."
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&" File \"<string>\", line 4, in <module>\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/../../gcc-8.1.0/python/libstdcxx/v6/printers.py\", line 1606, in register_libstdcxx_printers\n"
DEBUG>>&" gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&" printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000009^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="main",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000010^done
DEBUG>>00000011^done
DEBUG>>00000012^error,msg="No executable specified, use `target exec'."
No executable specified, use `target exec'.
Using gdbinit file: C:\Users\G S RAO\.codelite-gdbinit
Current working dir: D:\NewFolder\cppProject\new
Launching gdb from :
Starting debugger : C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe --command="C:\Users\G S RAO\.codelite-gdbinit" --interpreter=mi "./new"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set pagingation off
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, 'C:\Users\G S RAO\AppData\Roaming\codelite\gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>end
DEBUG>>00000013-break-insert -f -t main
DEBUG>>00000014-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000015-exec-arguments
DEBUG>>00000016-exec-run
DEBUG>>Excess command line arguments ignored. (./new)
Excess command line arguments ignored. (./new)
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>&"S: No such file or directory.\n"
DEBUG>>&"D:\\NewFolder\\cppProject\\new/RAO\\.codelite-gdbinit: No such file or directory.\n"
DEBUG>>&"C:\\Users\\G: No such file or directory.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set pagingation off\n"
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>^error,msg="No symbol table is loaded. Use the \"file\" command."
^error,msg="No symbol table is loaded. Use the \"file\" command."
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&" File \"<string>\", line 4, in <module>\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/../../gcc-8.1.0/python/libstdcxx/v6/printers.py\", line 1606, in register_libstdcxx_printers\n"
DEBUG>>&" gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&" printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000013^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="main",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000014^done
DEBUG>>00000015^done
DEBUG>>00000016^error,msg="No executable specified, use `target exec'."
No executable specified, use `target exec'.
Using gdbinit file: C:\Users\G S RAO\.codelite-gdbinit
Current working dir: D:\NewFolder\cppProject\new
Launching gdb from :
Starting debugger : C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe --command="C:\Users\G S RAO\.codelite-gdbinit" --interpreter=mi "./new"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set pagingation off
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, 'C:\Users\G S RAO\AppData\Roaming\codelite\gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>end
DEBUG>>00000017-break-insert -f -t main
DEBUG>>00000018-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000019-exec-arguments
DEBUG>>00000020-exec-run
DEBUG>>Excess command line arguments ignored. (./new)
Excess command line arguments ignored. (./new)
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>&"S: No such file or directory.\n"
DEBUG>>&"D:\\NewFolder\\cppProject\\new/RAO\\.codelite-gdbinit: No such file or directory.\n"
DEBUG>>&"C:\\Users\\G: No such file or directory.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set pagingation off\n"
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>^error,msg="No symbol table is loaded. Use the \"file\" command."
^error,msg="No symbol table is loaded. Use the \"file\" command."
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&" File \"<string>\", line 4, in <module>\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/../../gcc-8.1.0/python/libstdcxx/v6/printers.py\", line 1606, in register_libstdcxx_printers\n"
DEBUG>>&" gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&" printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000017^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="main",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000018^done
DEBUG>>00000019^done
DEBUG>>00000020^error,msg="No executable specified, use `target exec'."
No executable specified, use `target exec'.
Using gdbinit file: C:\Users\G S RAO\.codelite-gdbinit
Current working dir: D:\NewFolder\cppProject\new
Launching gdb from :
Starting debugger : C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe --command="C:\Users\G S RAO\.codelite-gdbinit" --interpreter=mi "./new"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set pagingation off
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, 'C:\Users\G S RAO\AppData\Roaming\codelite\gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>end
DEBUG>>00000021-break-insert -f -t main
DEBUG>>00000022-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000023-exec-arguments
DEBUG>>00000024-exec-run
DEBUG>>Excess command line arguments ignored. (./new)
Excess command line arguments ignored. (./new)
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>&"S: No such file or directory.\n"
DEBUG>>&"D:\\NewFolder\\cppProject\\new/RAO\\.codelite-gdbinit: No such file or directory.\n"
DEBUG>>&"C:\\Users\\G: No such file or directory.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set pagingation off\n"
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>^error,msg="No symbol table is loaded. Use the \"file\" command."
^error,msg="No symbol table is loaded. Use the \"file\" command."
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&" File \"<string>\", line 4, in <module>\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/../../gcc-8.1.0/python/libstdcxx/v6/printers.py\", line 1606, in register_libstdcxx_printers\n"
DEBUG>>&" gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&" File \"c:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\share\\gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&" printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000021^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="<PENDING>",pending="main",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000022^done
DEBUG>>00000023^done
DEBUG>>00000024^error,msg="No executable specified, use `target exec'."
No executable specified, use `target exec'.