This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb not working with older glibc
Well that pretty much was the exact output.
Here's the version info too:
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program:
/path/(name-omitted)
Program received signal SIG32, Real-time event 32.
0x0811c7f6 in __sigsuspend (set=0xbffff380) at
../sysdeps/unix/sysv/linux/sigsuspend.c:45
45 ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or
directory.
in ../sysdeps/unix/sysv/linux/sigsuspend.c
Current language: auto; currently c
And for gdb 6.0 working, it's just the same thing without the error/crash.
-John
On Mon, 10 Nov 2003, Andrew Cagney wrote:
> What is the exact output of GDB 6.0 (working and non-working)?
>
> The problem is most likely that GDB is loading the lated libthread_db
> and that library is refusing to debug the older glibc.
>
> Perhaphs there should be a "set libthread_db ... command?"
>
> Andrew
>
>
>