From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10826 invoked by alias); 8 Dec 2004 20:01:40 -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 10717 invoked from network); 8 Dec 2004 20:01:30 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 8 Dec 2004 20:01:30 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iB8K1NK6007599; Wed, 8 Dec 2004 21:01:23 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iB8K1MmR008576; Wed, 8 Dec 2004 21:01:22 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iB8K1FYj008573; Wed, 8 Dec 2004 21:01:15 +0100 (CET) Date: Wed, 08 Dec 2004 22:20:00 -0000 Message-Id: <200412082001.iB8K1FYj008573@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: randolph@tausq.org CC: brobecker@adacore.com, gdb-patches@sources.redhat.com In-reply-to: <20041208061238.GL6359@tausq.org> (message from Randolph Chung on Tue, 7 Dec 2004 22:12:39 -0800) Subject: Re: [RFC/RFA/hppa] unwind pc in bottom frame using correct register References: <20041204042049.GR16491@adacore.com> <20041204053132.GR6359@tausq.org> <20041204075101.GS16491@adacore.com> <20041204084624.GS6359@tausq.org> <200412041126.iB4BQsd8000662@elgar.sibelius.xs4all.nl> <20041208032725.GI6359@tausq.org> <20041208061238.GL6359@tausq.org> X-SW-Source: 2004-12/txt/msg00243.txt.bz2 Date: Tue, 7 Dec 2004 22:12:39 -0800 From: Randolph Chung > hrm, something is broken. on hppa64-hp-hpux11.11 this is causing a lot > of unwinding failures. the hpux unwind_pc method is getting flags that > have the magic "2" bit set, so it gets the pc from 31 instead of the > pcoqh register. Duh! Sorry 'bout that. The `ss_flags' field is declared as an `int' so I thought it was 4 bytes everywhere. figured it out.. we were only clearing the first half of the register on 64-bit... i committed the following patch to fix the problem. Thanks, Mark