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: Symbol file


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


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