This is the mail archive of the gdb@sources.redhat.com 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: gdb not working with older glibc



On Tue, 11 Nov 2003, Andrew Cagney wrote:

> you need to force GDB into loading the correct libthread_db library.  I
> guess using something like LD_LIBRARY_PATH?  Or perhaphs overriding
> gdb/thread-db.c:#define LIBTHREAD_DB_SO?
>
> Andrew
>

Well, I only have one libthread library on my system I think.
locate libthread turns up this:
/usr/lib/libthread_db.so
/lib/libthread_db-1.0.so
/lib/libthread_db.so.1

Two are symlinks to the actual file, which is:
 ll /lib/libthread_db*
-rwxr-xr-x    1 root     root        17036 Apr  7  2003
/lib/libthread_db-1.0.so*
lrwxrwxrwx    1 root     root           19 Nov  8 00:04
/lib/libthread_db.so.1 -> libthread_db-1.0.so

So I don't even have the option of using a different libthread_db.

-John


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