Code::Blocks Forums
User forums => Help => Topic started by: Calmarius on November 30, 2015, 08:40:34 am
-
I'm working on 64 bit Ubuntu, and I'm using C::B 13.12
The gdb -v output is:
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>.
If I set a breakpoint, the program stops but the IDE still thinks it's running and not giving me call stack or anything. Also no way to continue the program since the IDE thinks it's running.
When an assert fail occurs and the program gets SIGABRT, the IDE just exits the debugger and does not show lines or call stack.
The project was created by the "Empty project" wizard.
Something is really screwed up... Any ideas...
-
Can you enable the full log of the debugger and post it here for inspection?
-
Later I discovered that this weird behavior is caused by the fact that I updated my compiler to gcc 4.81 which uses a differrent format for debug symbols which is not recognized correctly by gdb, while you can set breakpoints on lines, it doesn't show line, when the gdb stops. So I needed to update gdb too. Now it works.
-
Good to know it is working now. 8)