From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10345 invoked by alias); 3 Jun 2002 11:22:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 10309 invoked from network); 3 Jun 2002 11:22:19 -0000 Received: from unknown (HELO www.dberlin.org) (138.88.47.118) by sources.redhat.com with SMTP; 3 Jun 2002 11:22:19 -0000 Received: by www.dberlin.org (Postfix, from userid 503) id 823154CC6D27; Mon, 3 Jun 2002 07:22:18 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by www.dberlin.org (Postfix) with ESMTP id D52AA4CC6D26; Mon, 3 Jun 2002 07:22:12 -0400 (EDT) Date: Mon, 03 Jun 2002 04:22:00 -0000 From: Daniel Berlin To: "H . J . Lu" Cc: GDB , , Subject: Re: Does gdb 5.2 support gcc 3.1.1 on Linux/mips? In-Reply-To: <20020602231016.A18236@lucon.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-0.5 required=5.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK,NO_MX_FOR_FROM,AWL version=2.20 X-Spam-Level: X-SW-Source: 2002-06/txt/msg00020.txt.bz2 On Sun, 2 Jun 2002, H . J . Lu wrote: > On Sun, Jun 02, 2002 at 11:03:31PM -0700, H . J . Lu wrote: > > > > DW_CFA_17 is DW_CFA_offset_extended_sf, which was added to gcc on > > 2002-01-30. I have verifed that gcc 3.1.1 does generate it for mips. > > It looks like we have at least 2 bugs. First, readelf doesn't handle > > DW_CFA_offset_extended_sf and maybe other DAWRF debug info generated > > by gcc 3.1.1. Secondly, gdb 5.2 doesn't work with gcc 3.1.1 for > > Linux/mips. > > dwarf2cfi.c in gdb 5.2 seems to support DW_CFA_offset_extended_sf. But > that file is not used anywhere, at least not for Linux/x86 nor > Linux/mips. Did I miss something? It's only used by x86-64 at present. I mentioned how to get other platforms to support dwarf2 frame unwinding in a thread last week, forget the subject line however. Shouldn't we fix gdb 5.2 and > binutils for gcc 3.1.1? > > > H.J. >