Using symbols from

Paul Pluzhnikov ppluzhnikov@google.com
Mon Nov 30 18:57:00 GMT 2009


On Mon, Nov 30, 2009 at 8:29 AM, Joel Brobecker <brobecker@adacore.com> wrote:

> 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.

Alternatively, link a new "dummy" executable with the same symbols
assigned to matching addresses. This (I think) could be done fairly
easily using GNU-ld linker script.

-- 
Paul Pluzhnikov



More information about the Gdb mailing list