This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb not working with older glibc
- From: jdavin at cmu dot edu
- To: gdb at sources dot redhat dot com
- Date: Mon, 10 Nov 2003 14:01:01 -0500 (EST)
- Subject: gdb not working with older glibc
Hi,
I recently upgraded to glibc 2.3.2 (because I need to run a binary that
required it). I'm running Redhat 7.3, and did the upgrade with rpms for
glibc,glibc-common,glibc-devel,modutils,and binutils.
However, somehow it messed up my gdb such that I can no longer debug
binaries compiled with earlier glibc versions. gdb works fine on binaries
compiled on my system (under glibc 2.3.2 I assume) but gives this on other
binaries:
Program received signal SIG32, Real-time event 32.
0x0811c7f6 in __sigsuspend (set=0xbffff330)
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
I tried upgrading to gdb 5.3, but that didn't work, and then I tried gdb
6.0 but it's still the same. So I assume this is some sort of problem with
my system libraries. But I have no idea how to fix it. There's no
sigsuspend.c on my system ( locate sigsuspend.c turns up nothing).
Anyone have any ideas?
thanks,
John