This is the mail archive of the
mailing list for the GDB project.
Re: errors in GDB reading symbols
- From: Tom Tromey <tromey at redhat dot com>
- To: kceiwH <kceiwh at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 03 Aug 2009 10:53:35 -0600
- Subject: Re: errors in GDB reading symbols
- References: <97234C41-9CA5-4A2C-89BA-6B54256D8B81@gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> ">" == kceiwH <email@example.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
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.