MP_
MP_

Reputation: 75

GDB - How to handle "No Symbol Table"

I have an application I would like to inspect and I don't have the sources to rebuild it and create the Symbol Table like here (gcc -g my_app.c).

When I call the info locals I get the following error "No symbol table info available"

When I'm working with Eclipse even when I don't have the sources of the library it can resolve the arguments of the current function into arg0, arg1... argN and if I remember correctly also the members of objects.

Is there any way to generate a custom/generic/default symbol table, one that would satisfy GDB and would allow me to see the values of local variables and arguments?

Upvotes: 4

Views: 3853

Answers (1)

Jasen
Jasen

Reputation: 12392

the answer is No.

The local symbols are only useful for debugging so there is no alternative. If they have been discarded they are gone.

Upvotes: 5

Related Questions