From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1241 invoked by alias); 23 Mar 2004 15:18:12 -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 1233 invoked from network); 23 Mar 2004 15:18:11 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 23 Mar 2004 15:18:11 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D09812B92; Tue, 23 Mar 2004 10:18:11 -0500 (EST) Message-ID: <40605533.6070003@gnu.org> Date: Tue, 23 Mar 2004 15:18: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: [patch/rfc] Deprecate SIGTRAMP_START SIGTRAMP_END References: <40576B65.9020700@gnu.org> In-Reply-To: <40576B65.9020700@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00518.txt.bz2 > Hello, > > The attached deprecates SIGTRAMP_START and SIGTRAMP_END. These were made obsolete by PC_IN_SIGTRAMP (which in turn has been made obsolete by signal trampoline frame sniffers). > > Note that blockframe.c:find_pc_partial_function contains what I consider to be broken references to these macros -- typically it is only possible to determine the location of a signal trampoline by doing a detailed analysis of the inferior (i.e., unwinding frames and examining instructions) yet that function is ment to work with just static information. I've added a comment explaining this. > > comments? > > I'll look to commit this in a week. I've checked this in. Andrew > 2004-03-16 Andrew Cagney > > * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate. > * gdbarch.h, gdbarch.c: Re-generate. > * i386obsd-tdep.c (i386obsd_init_abi): Update. > * i386nbsd-tdep.c (i386nbsd_init_abi): Update. > * i386bsd-tdep.c (i386bsd_init_abi): Update. > * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END) > (DEPRECATED_SIGTRAMP_START): Update. > * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END) > (DEPRECATED_SIGTRAMP_START): Update. > * blockframe.c (find_pc_sect_partial_function): Update. > * arch-utils.c (legacy_pc_in_sigtramp): Update. >