From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10103 invoked by alias); 4 Jun 2003 05:35: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 9959 invoked from network); 4 Jun 2003 05:35:42 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 4 Jun 2003 05:35:42 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 4A0CED2DAF; Tue, 3 Jun 2003 22:35:29 -0700 (PDT) Date: Wed, 04 Jun 2003 05:35:00 -0000 From: Joel Brobecker To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: [commit] Re: Last build failure in alpha-osf1-tdep.c (I promise :) Message-ID: <20030604053529.GT919@gnat.com> References: <20030604004536.GQ919@gnat.com> <3EDD62F3.3060306@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="NY6JkbSqL3W9mApi" Content-Disposition: inline In-Reply-To: <3EDD62F3.3060306@redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-06/txt/msg00163.txt.bz2 --NY6JkbSqL3W9mApi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 906 > Check alpha-linux-tdep.c, you'll want to steal the call: > > /* Hook into the MDEBUG frame unwinder. */ > alpha_mdebug_init_abi (info, gdbarch); A separate patch will be posted real-soon-now... > adding it to alpha-osf1-tdep.c. That will enable mdebug. > > > * alpha-osf1-tdep.c (alpha_osf1_init_abi): Do not set > > skip_sigtramp_frame in tdep structure, field no longer exists. > > Check this in. In fact, consider a patch to delete all occurances of > that function across alpha*tdep.c pre-approved. Here is what I committed: 2003-06-03 J. Brobecker * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists. There is still the alphanbsd-tdep.c file. I will take care of this one momentarily. Thanks for the hand, -- Joel --NY6JkbSqL3W9mApi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sigtramp.diff" Content-length: 1263 Index: alpha-osf1-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alpha-osf1-tdep.c,v retrieving revision 1.12 diff -c -3 -p -r1.12 alpha-osf1-tdep.c *** alpha-osf1-tdep.c 3 Jun 2003 23:49:32 -0000 1.12 --- alpha-osf1-tdep.c 4 Jun 2003 05:06:58 -0000 *************** *** 28,46 **** #include "alpha-tdep.h" - /* Under OSF/1, the __sigtramp routine is frameless and has a frame - size of zero, but we are able to backtrace through it. */ - static CORE_ADDR - alpha_osf1_skip_sigtramp_frame (struct frame_info *frame, CORE_ADDR pc) - { - char *name; - - find_pc_partial_function (pc, &name, (CORE_ADDR *) NULL, (CORE_ADDR *) NULL); - if (PC_IN_SIGTRAMP (pc, name)) - return frame->frame; - return 0; - } - static int alpha_osf1_pc_in_sigtramp (CORE_ADDR pc, char *func_name) { --- 28,33 ---- *************** alpha_osf1_init_abi (struct gdbarch_info *** 95,101 **** argument handling and bp_call_dummy takes care of stopping the dummy. */ set_gdbarch_call_dummy_address (gdbarch, alpha_call_dummy_address); - tdep->skip_sigtramp_frame = alpha_osf1_skip_sigtramp_frame; tdep->sigcontext_addr = alpha_osf1_sigcontext_addr; tdep->jb_pc = 2; --- 89,94 ---- --NY6JkbSqL3W9mApi--