From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23452 invoked by alias); 25 Mar 2004 00:20:08 -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 23443 invoked from network); 25 Mar 2004 00:20:07 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 25 Mar 2004 00:20:07 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2A8642B9B; Wed, 24 Mar 2004 19:20:08 -0500 (EST) Message-ID: <406225B7.8030403@gnu.org> Date: Thu, 25 Mar 2004 00:20: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: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa-mips] MIPS GNU/Linux sigtramp unwinders References: <20040324192041.GA21977@nevyn.them.org> In-Reply-To: <20040324192041.GA21977@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00582.txt.bz2 > /* Unwind the frame. */ > set_gdbarch_unwind_pc (gdbarch, mips_unwind_pc); > - frame_unwind_append_sniffer (gdbarch, mips_mdebug_frame_sniffer); > set_gdbarch_unwind_dummy_id (gdbarch, mips_unwind_dummy_id); > - frame_base_append_sniffer (gdbarch, mips_mdebug_frame_base_sniffer); > > /* Map debug register numbers onto internal register numbers. */ > set_gdbarch_stab_reg_to_regnum (gdbarch, mips_stab_reg_to_regnum); > @@ -5807,6 +5805,10 @@ mips_gdbarch_init (struct gdbarch_info i > > /* Hook in OS ABI-specific overrides, if they have been registered. */ > gdbarch_init_osabi (info, gdbarch); > + > + /* Unwind the frame. */ > + frame_unwind_append_sniffer (gdbarch, mips_mdebug_frame_sniffer); > + frame_base_append_sniffer (gdbarch, mips_mdebug_frame_base_sniffer); Yes, ok. I did the same move for PPC. Andrew