GDB: No symbol table is loaded. Use the "file" command. [message #988598] |
Fri, 30 November 2012 16:08 |
Eclipse hates me ! Messages: 10 Registered: September 2012 |
Junior Member |
|
|
When I start debugging I see the following in GDB console:
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
Quit
and none of the breakpoints is getting hit..
The binary I'm debugging certainly has debug info because outside of Eclipse gdb works fine. I've changed nothing in project settings or whatever, it just suddenly stopped working after a couple of runs. Tried restarting Eclipse - didn't help
Is this a bug?
[Updated on: Fri, 30 November 2012 16:12] Report message to a moderator
|
|
|
|
|
|
|
Re: GDB: No symbol table is loaded. Use the "file" command. [message #990195 is a reply to message #990158] |
Tue, 11 December 2012 11:08 |
Eclipse hates me ! Messages: 10 Registered: September 2012 |
Junior Member |
|
|
I had to create another workspace and import there my projects. And that worked.
I have no fucking idea why it didn't work for the old workspace. The projects are makefile-based projects, both makefile and project file are generated by CMake. As I said, outside of Eclipse exact same binary was loaded by gdb without any problems and I was able to debug it. Moreover, when I actually typed the "file path/to/executable" command in Eclipses' gdb console like I was told and then typed "continue", it worked as well. So I would guess it's something wrong with the gdb launcher or whatever starts gdb process.
[Updated on: Tue, 11 December 2012 14:15] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04178 seconds