From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28475 invoked by alias); 10 Dec 2004 14:50:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28452 invoked from network); 10 Dec 2004 14:50:02 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (212.157.227.139) by sourceware.org with SMTP; 10 Dec 2004 14:50:02 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 8625747DAD; Fri, 10 Dec 2004 15:50:01 +0100 (CET) Date: Fri, 10 Dec 2004 15:50:00 -0000 From: Joel Brobecker To: Randolph Chung Cc: Mark Kettenis , gdb-patches@sources.redhat.com Subject: Re: [RFC] Modernize HP-UX core file handling Message-ID: <20041210145001.GF987@adacore.com> References: <200412092231.iB9MVcmW001314@elgar.sibelius.xs4all.nl> <20041210074458.GR29171@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041210074458.GR29171@tausq.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-12/txt/msg00266.txt.bz2 > Mark, I haven't had a chance to test your patch yet. I will do that > tomorrow. But in the recent past, core file handling was completely > broken on both hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 (it always > segfaults when reading a core file for me), so i suspect whatever you > have will be better (at least a step in the right direction) Hmmm, bizarre. I thought it was working fine for me (at least not crashing), but I must have been using 6.3. With head, I got: This GDB was configured as "hppa2.0w-hp-hpux11.00"... (gdb) core core Core was generated by `crash'. Program terminated with signal 6, Aborted. Register flags not found in core file. (but no crash, like you). I'm running on 11.00. After Mark's changes, I get something much better: (gdb) bt #0 0xc01f5e38 in kill () from /usr/lib/libc.2 #1 0x00002988 in cause_crash () from ./crash Cannot access memory at address 0xffffffed I'll look at the unwinding failure when I have a moment. Nice work, Mark! -- Joel