Using symbols from
Joel Brobecker
brobecker@adacore.com
Mon Nov 30 17:33:00 GMT 2009
> I have the output of the platform specific nm run against the binary;
> is there any way I can teach gdb about the data from nm (at least the
> entry addresses to my functions, location of some global variables?).
It's not something that I have tried, so take with a grain of salt.
The only way I can think of is to transform the symbol-table data
into another format that GDB understands (for instance, an ELF symbol
table). For instance, if you could do an objcopy from your format to
ELF, then you can load the symbols from that ELF object file using
add-symbol-file.
--
Joel
More information about the Gdb
mailing list