From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16350 invoked by alias); 1 May 2004 00:10:41 -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 16340 invoked from network); 1 May 2004 00:10:40 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 1 May 2004 00:10:40 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i410AeKI012081 for ; Fri, 30 Apr 2004 20:10:40 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i410Adv24478; Fri, 30 Apr 2004 20:10:39 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 765492B9D; Fri, 30 Apr 2004 20:10:38 -0400 (EDT) Message-ID: <4092EAFE.8030201@gnu.org> Date: Sat, 01 May 2004 00:10:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [obish] Delete ppcnbsd_pc_in_sigtramp References: <4092D5AE.2030603@gnu.org> In-Reply-To: <4092D5AE.2030603@gnu.org> Content-Type: multipart/mixed; boundary="------------060106030403080100050603" X-SW-Source: 2004-05/txt/msg00001.txt.bz2 This is a multi-part message in MIME format. --------------060106030403080100050603 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 415 > Follow-up to adding a proper sigtramp unwinder to ppcnbsd - the old pc_in_sigtramp code is no longer needed - removed. Actually I missed, this is the patch eliminating ppcnbsd's in-sigtramp. The comment still applies. committed, Andrew > 2004-04-30 Andrew Cagney > > * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. > (mipsnbsd_init_abi): Do not set pc_in_sigtramp. > --------------060106030403080100050603 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1341 2004-04-30 Andrew Cagney * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set deprecated_pc_in_sigtramp. (ppcnbsd_pc_in_sigtramp): Delete function. Index: ppcnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v retrieving revision 1.14 diff -p -u -r1.14 ppcnbsd-tdep.c --- ppcnbsd-tdep.c 23 Apr 2004 01:02:32 -0000 1.14 +++ ppcnbsd-tdep.c 1 May 2004 00:07:51 -0000 @@ -201,13 +201,6 @@ static struct core_fns ppcnbsd_elfcore_f NULL /* next */ }; -static int -ppcnbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) -{ - /* FIXME: Need to add support for kernel-provided signal trampolines. */ - return (nbsd_pc_in_sigtramp (pc, func_name)); -} - /* NetBSD is confused. It appears that 1.5 was using the correct SVr4 convention but, 1.6 switched to the below broken convention. For the moment use the broken convention. Ulgh!. */ @@ -288,7 +281,6 @@ static void ppcnbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { - set_gdbarch_deprecated_pc_in_sigtramp (gdbarch, ppcnbsd_pc_in_sigtramp); /* For NetBSD, this is an on again, off again thing. Some systems do use the broken struct convention, and some don't. */ set_gdbarch_return_value (gdbarch, ppcnbsd_return_value); --------------060106030403080100050603--