From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3113 invoked by alias); 30 Apr 2004 22:39:43 -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 3070 invoked from network); 30 Apr 2004 22:39:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 30 Apr 2004 22:39:41 -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 i3UMdfKI019008 for ; Fri, 30 Apr 2004 18:39:41 -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 i3UMdev29477; Fri, 30 Apr 2004 18:39:41 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0EC0C2B9D; Fri, 30 Apr 2004 18:39:43 -0400 (EDT) Message-ID: <4092D5AE.2030603@gnu.org> Date: Fri, 30 Apr 2004 22:39: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: [obish] Delete ppcnbsd_pc_in_sigtramp Content-Type: multipart/mixed; boundary="------------040108070201020300070801" X-SW-Source: 2004-04/txt/msg00723.txt.bz2 This is a multi-part message in MIME format. --------------040108070201020300070801 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 139 Follow-up to adding a proper sigtramp unwinder to ppcnbsd - the old pc_in_sigtramp code is no longer needed - removed. committed, Andrew --------------040108070201020300070801 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1269 2004-04-30 Andrew Cagney * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. (mipsnbsd_init_abi): Do not set pc_in_sigtramp. Index: mipsnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mipsnbsd-tdep.c,v retrieving revision 1.12 diff -p -u -r1.12 mipsnbsd-tdep.c --- mipsnbsd-tdep.c 29 Apr 2004 18:28:43 -0000 1.12 +++ mipsnbsd-tdep.c 30 Apr 2004 22:36:50 -0000 @@ -221,13 +221,6 @@ mipsnbsd_sigtramp_offset (CORE_ADDR pc) return -1; } -static int -mipsnbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) -{ - return (nbsd_pc_in_sigtramp (pc, func_name) - || mipsnbsd_sigtramp_offset (pc) >= 0); -} - /* Figure out where the longjmp will land. We expect that we have just entered longjmp and haven't yet setup the stack frame, so the args are still in the argument regs. A0_REGNUM points at the @@ -345,8 +338,6 @@ static void mipsnbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { - set_gdbarch_deprecated_pc_in_sigtramp (gdbarch, mipsnbsd_pc_in_sigtramp); - set_gdbarch_get_longjmp_target (gdbarch, mipsnbsd_get_longjmp_target); set_gdbarch_cannot_fetch_register (gdbarch, mipsnbsd_cannot_fetch_register); --------------040108070201020300070801--