errors in GDB reading symbols

Tom Tromey tromey@redhat.com
Mon Aug 3 16:53:00 GMT 2009


>>>>> ">" == kceiwH  <kceiwh@gmail.com> writes:

>> I try to write a program to convert a line number of the source code
>> to the corresponding memory address. The program will link to libgdb,
>> libbfd, libiberty, libopcodes, which are generated when you compile
>> GDB.

I think we would prefer that you not use libgdb.  Nobody has worked on
turning gdb into a library in many years.  What you see in the tree is
not even the minimum necessary to get that to work.

I'd like to propose that we get rid of libgdb.a entirely.
I think all it does is slow down the build.

Tom



More information about the Gdb mailing list