From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14193 invoked by alias); 10 Nov 2003 19:01:03 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14178 invoked from network); 10 Nov 2003 19:01:02 -0000 Received: from unknown (HELO smtp2.andrew.cmu.edu) (128.2.10.82) by sources.redhat.com with SMTP; 10 Nov 2003 19:01:02 -0000 Received: from UNIX46.andrew.cmu.edu (UNIX46.andrew.cmu.edu [128.2.13.176]) by smtp2.andrew.cmu.edu (8.12.10/8.12.10) with ESMTP id hAAJ13H6025905 for ; Mon, 10 Nov 2003 14:01:03 -0500 Date: Mon, 10 Nov 2003 19:01:00 -0000 From: jdavin@cmu.edu X-X-Sender: jdavin@unix46.andrew.cmu.edu To: gdb@sources.redhat.com Subject: gdb not working with older glibc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-11/txt/msg00080.txt.bz2 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