From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23905 invoked by alias); 1 Jun 2003 03:48:20 -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 23846 invoked from network); 1 Jun 2003 03:48:17 -0000 Received: from unknown (HELO are.twiddle.net) (64.81.246.98) by sources.redhat.com with SMTP; 1 Jun 2003 03:48:17 -0000 Received: from are.twiddle.net (localhost.localdomain [127.0.0.1]) by are.twiddle.net (8.12.8/8.12.8) with ESMTP id h513mHLH002059 for ; Sat, 31 May 2003 20:48:17 -0700 Received: (from rth@localhost) by are.twiddle.net (8.12.8/8.12.8/Submit) id h513mHuu002057 for gdb-patches@sources.redhat.com; Sat, 31 May 2003 20:48:17 -0700 X-Authentication-Warning: are.twiddle.net: rth set sender to rth@twiddle.net using -f Date: Sun, 01 Jun 2003 03:48:00 -0000 From: Richard Henderson To: gdb-patches@sources.redhat.com Subject: [RFA] enable dwarf2 unwinder for alpha Message-ID: <20030601034817.GA2050@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-06/txt/msg00002.txt.bz2 Ok? r~ * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. Index: alpha-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alpha-linux-tdep.c,v retrieving revision 1.10 diff -c -p -d -r1.10 alpha-linux-tdep.c *** alpha-linux-tdep.c 29 May 2003 23:02:53 -0000 1.10 --- alpha-linux-tdep.c 1 Jun 2003 03:39:03 -0000 *************** *** 20,29 **** #include "defs.h" #include "frame.h" #include "gdbcore.h" - #include "value.h" - #include "osabi.h" #include "gdb_assert.h" #include "alpha-tdep.h" --- 20,34 ---- #include "defs.h" #include "frame.h" + #include "frame-base.h" + #include "frame-unwind.h" + #include "dwarf2-frame.h" #include "gdbcore.h" #include "gdb_assert.h" + #include "osabi.h" + #include "symtab.h" + #include "symfile.h" + #include "value.h" #include "alpha-tdep.h" *************** alpha_linux_init_abi (struct gdbarch_inf *** 131,136 **** --- 136,147 ---- { struct gdbarch_tdep *tdep; + /* Hook into the DWARF CFI frame unwinder. */ + frame_unwind_append_predicate (gdbarch, dwarf2_frame_p); + frame_base_append_predicate (gdbarch, dwarf2_frame_base_p); + set_gdbarch_dwarf2_build_frame_info (gdbarch, dwarf2_build_frame_info); + + /* Hook into the MDEBUG frame unwinder. */ alpha_mdebug_init_abi (info, gdbarch); set_gdbarch_pc_in_sigtramp (gdbarch, alpha_linux_pc_in_sigtramp);