{"action":"created","issue":{"url":"https://api.github.com/repos/eranif/codelite/issues/873","labels_url":"https://api.github.com/repos/eranif/codelite/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/eranif/codelite/issues/873/comments","events_url":"https://api.github.com/repos/eranif/codelite/issues/873/events","html_url":"https://github.com/eranif/codelite/issues/873","id":98715060,"number":873,"title":"Can't debug with gdb 7.9.1","user":{"login":"danny-su","id":12178855,"avatar_url":"https://avatars.githubusercontent.com/u/12178855?v=3","gravatar_id":"","url":"https://api.github.com/users/danny-su","html_url":"https://github.com/danny-su","followers_url":"https://api.github.com/users/danny-su/followers","following_url":"https://api.github.com/users/danny-su/following{/other_user}","gists_url":"https://api.github.com/users/danny-su/gists{/gist_id}","starred_url":"https://api.github.com/users/danny-su/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danny-su/subscriptions","organizations_url":"https://api.github.com/users/danny-su/orgs","repos_url":"https://api.github.com/users/danny-su/repos","events_url":"https://api.github.com/users/danny-su/events{/privacy}","received_events_url":"https://api.github.com/users/danny-su/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-03T10:34:17Z","updated_at":"2015-08-04T01:51:47Z","closed_at":"2015-08-03T18:14:16Z","body":"Can't debug with gdb 7.9.1, but can debug with gdb 7.6.1."},"comment":{"url":"https://api.github.com/repos/eranif/codelite/issues/comments/127452922","html_url":"https://github.com/eranif/codelite/issues/873#issuecomment-127452922","issue_url":"https://api.github.com/repos/eranif/codelite/issues/873","id":127452922,"user":{"login":"danny-su","id":12178855,"avatar_url":"https://avatars.githubusercontent.com/u/12178855?v=3","gravatar_id":"","url":"https://api.github.com/users/danny-su","html_url":"https://github.com/danny-su","followers_url":"https://api.github.com/users/danny-su/followers","following_url":"https://api.github.com/users/danny-su/following{/other_user}","gists_url":"https://api.github.com/users/danny-su/gists{/gist_id}","starred_url":"https://api.github.com/users/danny-su/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danny-su/subscriptions","organizations_url":"https://api.github.com/users/danny-su/orgs","repos_url":"https://api.github.com/users/danny-su/repos","events_url":"https://api.github.com/users/danny-su/events{/privacy}","received_events_url":"https://api.github.com/users/danny-su/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T01:51:47Z","updated_at":"2015-08-04T01:51:47Z","body":"Using gdbinit file: C:\\Users\\Danny\\AppData\\Local\\Temp\\codelite_gdbinit.txt\r\nCurrent working dir: D:\\Program Files\\CodeLite\\C++\\CPPTest\r\nLaunching gdb from : ./Debug\r\nStarting debugger  : D:/TDM-GCC-64/bin/gdb.exe --command=\"C:\\Users\\Danny\\AppData\\Local\\Temp\\codelite_gdbinit.txt\" --interpreter=mi \"./CPPTest\"\r\nDEBUG>>set  new-console on\r\nDEBUG>>set unwindonsignal on\r\nDEBUG>>set breakpoint pending on\r\nDEBUG>>set width 0\r\nDEBUG>>set height 0\r\nDEBUG>>set print elements 200\r\nDEBUG>>python\r\nDEBUG>>import sys\r\nDEBUG>>sys.path.insert(0, 'C:\\Users\\Danny\\AppData\\Roaming\\codelite\\gdb_printers')\r\nDEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers\r\nDEBUG>>register_libstdcxx_printers (None)\r\nDEBUG>>from qt4 import register_qt4_printers\r\nDEBUG>>register_qt4_printers (None)\r\nDEBUG>>from wx import register_wx_printers\r\nDEBUG>>register_wx_printers (None)\r\nDEBUG>>from boost.printers import register_printer_gen\r\nDEBUG>>register_printer_gen(None)\r\nDEBUG>>end\r\nDEBUG>>00000009-break-insert -f -t main\r\nDEBUG>>00000010-enable-pretty-printing\r\nDebug session started successfully!\r\nDEBUG>>00000011-exec-arguments \r\nDEBUG>>00000012-exec-run \r\nDEBUG>>=thread-group-added,id=\"i1\"\r\n=thread-group-added,id=\"i1\"\r\nDEBUG>>~\"GNU gdb (GDB) 7.9.1\\n\"\r\nGNU gdb (GDB) 7.9.1\r\nDEBUG>>~\"Copyright (C) 2015 Free Software Foundation, Inc.\\n\"\r\nCopyright (C) 2015 Free Software Foundation, Inc.\r\nDEBUG>>~\"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\"\r\nLicense 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.\r\nDEBUG>>~\"This GDB was configured as \\\"x86_64-w64-mingw32\\\".\\nType \\\"show configuration\\\" for configuration details.\"\r\nThis GDB was configured as \"x86_64-w64-mingw32\".\\nType \"show configuration\" for configuration details.\r\nDEBUG>>~\"\\nFor bug reporting instructions, please see:\\n\"\r\n\\nFor bug reporting instructions, please see:\r\nDEBUG>>~\"<http://www.gnu.org/software/gdb/bugs/>.\\n\"\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nDEBUG>>~\"Find the GDB manual and other documentation resources online at:\\n<http://www.gnu.org/software/gdb/documentation/>.\\n\"\r\nFind the GDB manual and other documentation resources online at:\\n<http://www.gnu.org/software/gdb/documentation/>.\r\nDEBUG>>~\"For help, type \\\"help\\\".\\n\"\r\nFor help, type \"help\".\r\nDEBUG>>~\"Type \\\"apropos word\\\" to search for commands related to \\\"word\\\"...\\n\"\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nDEBUG>>~\"Reading symbols from ./CPPTest...\"\r\nReading symbols from ./CPPTest...\r\nDEBUG>>~\"done.\\n\"\r\ndone.\r\nDEBUG>>&\"Traceback (most recent call last):\\n\"\r\nDEBUG>>&\"  File \\\"<string>\\\", line 5, in <module>\\n\"\r\nDEBUG>>&\"  File \\\"C:\\\\Users\\\\Danny\\\\AppData\\\\Roaming\\\\codelite\\\\gdb_printers\\\\libstdcxx\\\\v6\\\\printers.py\\\", line 1023, in register_libstdcxx_printers\\n\"\r\nDEBUG>>&\"    gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\\n\"\r\nDEBUG>>&\"  File \\\"d:\\\\tdm-gcc-64\\\\gdb64\\\\share\\\\gdb/python\\\\gdb\\\\printing.py\\\", line 152, in register_pretty_printer\\n\"\r\nDEBUG>>&\"    printer.name)\\n\"\r\nDEBUG>>&\"RuntimeError: pretty-printer already registered: libstdc++-v6\\n\"\r\nDEBUG>>&\"C:\\\\Users\\\\Danny\\\\AppData\\\\Local\\\\Temp\\\\codelite_gdbinit.txt:17: Error in sourced command file:\\n\"\r\nDEBUG>>&\"Error while executing Python code.\\n\"\r\nDEBUG>>&\"set  new-console on\\n\"\r\nDEBUG>>=cmd-param-changed,param=\"new-console\",value=\"on\"\r\n=cmd-param-changed,param=\"new-console\",value=\"on\"\r\nDEBUG>>^done\r\nDEBUG>>&\"set unwindonsignal on\\n\"\r\nDEBUG>>=cmd-param-changed,param=\"unwindonsignal\",value=\"on\"\r\n=cmd-param-changed,param=\"unwindonsignal\",value=\"on\"\r\nDEBUG>>^done\r\nDEBUG>>&\"set breakpoint pending on\\n\"\r\nDEBUG>>=cmd-param-changed,param=\"breakpoint pending\",value=\"on\"\r\n=cmd-param-changed,param=\"breakpoint pending\",value=\"on\"\r\nDEBUG>>^done\r\nDEBUG>>&\"set width 0\\n\"\r\nDEBUG>>=cmd-param-changed,param=\"width\",value=\"4294967295\"\r\n=cmd-param-changed,param=\"width\",value=\"4294967295\"\r\nDEBUG>>^done\r\nDEBUG>>&\"set height 0\\n\"\r\nDEBUG>>^done\r\nDEBUG>>&\"set print elements 200\\n\"\r\nDEBUG>>^done\r\nDEBUG>>&\"python\\n\"\r\nDEBUG>>&\"Traceback (most recent call last):\\n\"\r\nDEBUG>>&\"  File \\\"<string>\\\", line 4, in <module>\\n\"\r\nDEBUG>>&\"  File \\\"C:\\\\Users\\\\Danny\\\\AppData\\\\Roaming\\\\codelite\\\\gdb_printers\\\\libstdcxx\\\\v6\\\\printers.py\\\", line 1023, in register_libstdcxx_printers\\n\"\r\nDEBUG>>&\"    gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\\n\"\r\nDEBUG>>&\"  File \\\"d:\\\\tdm-gcc-64\\\\gdb64\\\\share\\\\gdb/python\\\\gdb\\\\printing.py\\\", line 152, in register_pretty_printer\\n\"\r\nDEBUG>>&\"    printer.name)\\n\"\r\nDEBUG>>&\"RuntimeError: pretty-printer already registered: libstdc++-v6\\n\"\r\nDEBUG>>&\"Error while executing Python code.\\n\"\r\nDEBUG>>^error,msg=\"Error while executing Python code.\"\r\n^error,msg=\"Error while executing Python code.\"\r\nDEBUG>>00000009^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x00000000004015c4\",func=\"main(int, char**)\",file=\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp\",fullname=\"D:\\\\Program Files\\\\CodeLite\\\\C++\\\\CPPTest\\\\main.cpp\",line=\"5\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main\"}\r\nStoring internal breakpoint ID=1\r\nDEBUG>>00000010^done\r\nDEBUG>>00000011^done\r\n>> Debuggee process ID: 8948\r\nDEBUG>>=thread-group-started,id=\"i1\",pid=\"8948\"\r\n=thread-group-started,id=\"i1\",pid=\"8948\"\r\nDEBUG>>=thread-created,id=\"1\",group-id=\"i1\"\r\n=thread-created,id=\"1\",group-id=\"i1\"\r\nDEBUG>>~\"[New Thread 8948.0x2160]\\n\"\r\n[New Thread 8948.0x2160]\r\nDEBUG>>00000012^running\r\nContinuing...\r\nDEBUG>>*running,thread-id=\"all\"\r\n*running,thread-id=\"all\"\r\nDEBUG>>=thread-created,id=\"2\",group-id=\"i1\"\r\n=thread-created,id=\"2\",group-id=\"i1\"\r\nDEBUG>>~\"[New Thread 8948.0x3a60]\\n\"\r\n[New Thread 8948.0x3a60]\r\nDEBUG>>*running,thread-id=\"all\"\r\n*running,thread-id=\"all\"\r\nDEBUG>>=library-loaded,id=\"C:\\\\WINDOWS\\\\SYSTEM32\\\\ntdll.dll\",target-name=\"C:\\\\WINDOWS\\\\SYSTEM32\\\\ntdll.dll\",host-name=\"C:\\\\WINDOWS\\\\SYSTEM32\\\\ntdll.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\n=library-loaded,id=\"C:\\\\WINDOWS\\\\SYSTEM32\\\\ntdll.dll\",target-name=\"C:\\\\WINDOWS\\\\SYSTEM32\\\\ntdll.dll\",host-name=\"C:\\\\WINDOWS\\\\SYSTEM32\\\\ntdll.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\nDEBUG>>=library-loaded,id=\"C:\\\\WINDOWS\\\\system32\\\\kernel32.dll\",target-name=\"C:\\\\WINDOWS\\\\system32\\\\kernel32.dll\",host-name=\"C:\\\\WINDOWS\\\\system32\\\\kernel32.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\n=library-loaded,id=\"C:\\\\WINDOWS\\\\system32\\\\kernel32.dll\",target-name=\"C:\\\\WINDOWS\\\\system32\\\\kernel32.dll\",host-name=\"C:\\\\WINDOWS\\\\system32\\\\kernel32.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\nDEBUG>>=library-loaded,id=\"C:\\\\WINDOWS\\\\system32\\\\KernelBase.dll\",target-name=\"C:\\\\WINDOWS\\\\system32\\\\KernelBase.dll\",host-name=\"C:\\\\WINDOWS\\\\system32\\\\KernelBase.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\n=library-loaded,id=\"C:\\\\WINDOWS\\\\system32\\\\KernelBase.dll\",target-name=\"C:\\\\WINDOWS\\\\system32\\\\KernelBase.dll\",host-name=\"C:\\\\WINDOWS\\\\system32\\\\KernelBase.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\nDEBUG>>=library-loaded,id=\"C:\\\\WINDOWS\\\\system32\\\\msvcrt.dll\",target-name=\"C:\\\\WINDOWS\\\\system32\\\\msvcrt.dll\",host-name=\"C:\\\\WINDOWS\\\\system32\\\\msvcrt.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\n=library-loaded,id=\"C:\\\\WINDOWS\\\\system32\\\\msvcrt.dll\",target-name=\"C:\\\\WINDOWS\\\\system32\\\\msvcrt.dll\",host-name=\"C:\\\\WINDOWS\\\\system32\\\\msvcrt.dll\",symbols-loaded=\"0\",thread-group=\"i1\"\r\nDEBUG>>=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x00000000004015c4\",func=\"main(int, char**)\",file=\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp\",fullname=\"D:\\\\Program Files\\\\CodeLite\\\\C++\\\\CPPTest\\\\main.cpp\",line=\"5\",thread-groups=[\"i1\"],times=\"1\",original-location=\"main\"}\r\n=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"0x00000000004015c4\",func=\"main(int, char**)\",file=\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp\",fullname=\"D:\\\\Program Files\\\\CodeLite\\\\C++\\\\CPPTest\\\\main.cpp\",line=\"5\",thread-groups=[\"i1\"],times=\"1\",original-location=\"main\"}\r\nDEBUG>>~\"\\nTemporary breakpoint \"\r\n\\nTemporary breakpoint\r\nDEBUG>>~\"1, main (argc=1, argv=0x3b2470) at D:/Program Files/CodeLite/C++/CPPTest/main.cpp:5\\n\"\r\n1, main (argc=1, argv=0x3b2470) at D:/Program Files/CodeLite/C++/CPPTest/main.cpp:5\r\nDEBUG>>~\"5\\t\\tprintf(\\\"hello world\\\\n\\\");\\n\"\r\n5\\t\\tprintf(\"hello world\\n\");\r\nDEBUG>>*stopped,reason=\"breakpoint-hit\",disp=\"del\",bkptno=\"1\",frame={addr=\"0x00000000004015c4\",func=\"main\",args=[{name=\"argc\",value=\"1\"},{name=\"argv\",value=\"0x3b2470\"}],file=\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp\",fullname=\"D:\\\\Program Files\\\\CodeLite\\\\C++\\\\CPPTest\\\\main.cpp\",line=\"5\"},thread-id=\"1\",stopped-threads=\"all\"\r\nInternal breakpoint was hit (id=1), Applying user breakpoints and continuing\r\nDEBUG>>00000013-break-insert -f \"\\\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp:5\\\"\"\r\nDEBUG>>00000014-break-insert -f \"\\\"D:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/iostream:76\\\"\"\r\nDEBUG>>00000015-file-list-exec-source-file\r\nDEBUG>>00000016-break-list\r\nDEBUG>>=breakpoint-deleted,id=\"1\"\r\n=breakpoint-deleted,id=\"1\"\r\nDEBUG>>This application has requested the Runtime to terminate it in an unusual way.\r\nThis application has requested the Runtime to terminate it in an unusual way.\r\nDEBUG>>Please contact the application's support team for more information.\r\nPlease contact the application's support team for more information.\r\nDEBUG>>00000013^done,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x00000000004015c4\",func=\"main(int, char**)\",file=\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp\",fullname=\"D:\\\\Program Files\\\\CodeLite\\\\C++\\\\CPPTest\\\\main.cpp\",line=\"5\",thread-groups=[\"i1\"],times=\"0\",original-location=\"D:/Program Files/CodeLite/C++/CPPTest/main.cpp:5\"}\r\nFound the breakpoint ID!\r\nStoring debugger breakpoint Id=2\r\nSuccessfully set breakpoint 2 at: D:\\Program Files\\CodeLite\\C++\\CPPTest\\main.cpp:5\r\nDEBUG>>~\"C:/crossdev/src/gdb-7.9.1/gdb/cp-namespace.c:341: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\\nA problem internal to GDB has been detected,\\nfurther debugging may prove unreliable.\\nQuit this debugging session? \"\r\nC:/crossdev/src/gdb-7.9.1/gdb/cp-namespace.c:341: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\\nA problem internal to GDB has been detected,\\nfurther debugging may prove unreliable.\\nQuit this debugging session?\r\nDEBUG>>~\"(y or n) [answered Y; input not from terminal]\\n\"\r\n(y or n) [answered Y; input not from terminal]\r\nDEBUG>>&\"\\nThis is a bug, please report it.\"\r\nDEBUG>>&\"  For instructions, see:\\n<http://www.gnu.org/software/gdb/bugs/>.\"\r\nDEBUG>>&\"\\n\\n\"\r\nDEBUG>>~\"C:/crossdev/src/gdb-7.9.1/gdb/cp-namespace.c:341: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\\nA problem internal to GDB has been detected,\\nfurther debugging may prove unreliable.\\nCreate a core file of GDB? \"\r\nC:/crossdev/src/gdb-7.9.1/gdb/cp-namespace.c:341: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\\nA problem internal to GDB has been detected,\\nfurther debugging may prove unreliable.\\nCreate a core file of GDB?\r\nDEBUG>>~\"(y or n) [answered Y; input not from terminal]\\n\"\r\n(y or n) [answered Y; input not from terminal]\r\n"}}