From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18775 invoked by alias); 29 Mar 2005 17:42:57 -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 18580 invoked from network); 29 Mar 2005 17:42:43 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 29 Mar 2005 17:42:43 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j2THgh7B000314 for ; Tue, 29 Mar 2005 12:42:43 -0500 Received: from zenia.home.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j2THggO08707; Tue, 29 Mar 2005 12:42:42 -0500 To: Andreas Schwab Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: Use Dwarf 2 CFI on PowerPC targets References: <20050326224408.GB1151@nevyn.them.org> From: Jim Blandy Date: Tue, 29 Mar 2005 17:42:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-03/txt/msg00379.txt.bz2 Andreas Schwab writes: > Daniel Jacobowitz writes: > > > On Wed, Sep 08, 2004 at 10:43:27AM -0500, Jim Blandy wrote: > >> > >> This works fine on PowerPC E500 Linux; I'm still testing it on other > >> platforms. Thus it's a Request for Comments, not Approval. I'll be > >> back with test results on AIX, sim, and plain PowerPC Linux in a bit. > >> > >> 2004-09-02 Jim Blandy > >> > >> * rs6000-tdep.c: #include "dwarf2-frame.h". > >> (rs6000_dwarf2_reg_to_regnum): Recognize 65 as another number for lr. > >> (rs6000_gdbarch_init): Hook in dwarf2_frame_sniffer. > >> * Makefile.in (rs6000-tdep.o): Update dependencies. > > > > Did you ever finish testing these? There are now twelve targets which > > use dwarf2_frame_sniffer and I've just posted a patch to enable it for > > another, but PPC is still behind. > > I've tested the patch with current HEAD on powerpc-suse-linux, and there > are 73 regressions and 17 progressions. Which GCC are you using? One problem I ran into was that GCC's .debug_frame information used one number for the return address register in the CIE's, and a different one in the FDE's.