From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13686 invoked by alias); 6 Dec 2005 21:39:35 -0000 Received: (qmail 13679 invoked by uid 22791); 6 Dec 2005 21:39:34 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Dec 2005 21:39:33 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id jB6LdS0Q028192; Tue, 6 Dec 2005 22:39:29 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id jB6LdSX8021343; Tue, 6 Dec 2005 22:39:28 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id jB6LdRX4029666; Tue, 6 Dec 2005 22:39:27 +0100 (CET) Date: Wed, 07 Dec 2005 01:18:00 -0000 Message-Id: <200512062139.jB6LdRX4029666@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: randolph@tausq.org CC: gdb-patches@sources.redhat.com In-reply-to: <437F1F25.6040104@tausq.org> (message from Randolph Chung on Sat, 19 Nov 2005 20:48:37 +0800) Subject: Re: [hpux] Improve sigtramp frame identification References: <437F1F25.6040104@tausq.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00120.txt.bz2 > Date: Sat, 19 Nov 2005 20:48:37 +0800 > From: Randolph Chung > > the old code used to be hardcoded to look for a "_sigreturn" function, > but according to the ABI, the signal frame can be identified by a > specific bit in the unwind record. Use that instead. Bleah, this seems to have broken sigtramp detection on HP-UX 10.20. Problem is that if we go up one frame from the signal handler we end up in the export stub for _sigreturn, and not _sigreturn itself. The export stub doesn't have the HP_UX_interrupt_marker bit set in the unwind record. Did you make this change to fix a specific problem? If not I'd like to add the strcmp() back in... Mark