This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using symbols from


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]