* Symbol file
@ 2016-10-29 17:57 Stephen Pape
2016-10-29 20:06 ` dwk
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Pape @ 2016-10-29 17:57 UTC (permalink / raw)
To: GDB
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Symbol file
2016-10-29 17:57 Symbol file Stephen Pape
@ 2016-10-29 20:06 ` dwk
0 siblings, 0 replies; 2+ messages in thread
From: dwk @ 2016-10-29 20:06 UTC (permalink / raw)
To: Stephen Pape; +Cc: GDB
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-29 20:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-29 17:57 Symbol file Stephen Pape
2016-10-29 20:06 ` dwk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox