GDB - How to handle "No Symbol Table"

I have an application that I would like to test, and I have no sources to restore it and create a symbol table, for example here ( gcc -g my_app.c

).

When I call info locals

I get the following error: Symbol table information is missing

When I work with Eclipse, even if I don't have the library sources, it can resolve the arguments of the current function to arg0, arg1 ... argN and if I remember correctly the members of the objects as well.

Is it possible to create a normal / generic default symbol table that will satisfy GDB and allow me to see the values โ€‹โ€‹of local variables and arguments?

+3


source to share


1 answer


Answer No.



Local symbols are only useful for debugging, so there is no alternative. If they were thrown back, they disappeared.

+4


source







All Articles