Re: Symbol file

dwk <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAPkwjGs7F2dnj8aFD_HaO27YG2WxqEQoi-4wGQ_677Dx36h-Bg@mail.gmail.com>
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 <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.