Symbol file

dwk dwks42@gmail.com
Sat Oct 29 20:06:00 GMT 2016


Hi Stephen,

You can generate an almost-empty ELF file which has a symbol table
corresponding to your data. Then just use GDB's "add-symbol-file"
command to load the symbol table. I have some code to generate such an
ELF file, email me if interested.

-- dwk

On Sat, Oct 29, 2016 at 7:56 PM, Stephen Pape <srpape@gmail.com> wrote:
> Hello,
>
> Is there any way to provide GDB with symbol information besides a binary?
>
> I have symbol information in text format (symbol name/address/some
> flags). I can transform the data as necessary, but I can't seem to
> find a way to use it.
>
> Thanks,
>
> -Stephen



More information about the Gdb mailing list