From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4153 invoked by alias); 31 May 2006 23:41:29 -0000 Received: (qmail 4144 invoked by uid 22791); 31 May 2006 23:41:29 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 May 2006 23:41:27 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VNfQnv005913; Wed, 31 May 2006 19:41:26 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VNfPR4023150; Wed, 31 May 2006 19:41:25 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k4VNfN8w001007; Wed, 31 May 2006 19:41:24 -0400 Message-ID: <447E29A3.509@redhat.com> Date: Wed, 31 May 2006 23:47:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) MIME-Version: 1.0 To: Daniel Jacobowitz CC: brobecker@adacore.com, GDB Patches , fnf@specifix.com Subject: Re: [RFA] mips, eabi64, addr_bit == 32 References: <447E25F0.3010009@redhat.com> <20060531233451.GA31663@nevyn.them.org> In-Reply-To: <20060531233451.GA31663@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00489.txt.bz2 Daniel Jacobowitz wrote: > On Wed, May 31, 2006 at 04:25:36PM -0700, Michael Snyder wrote: > >>Disagreement between gcc and gdb about the size of an addr >>causes numerous dwarf2-related complaints of the form: >> >>(gdb) advance foo^M >>foo (a=dwarf2_read_address: Corrupted DWARF expression.^M >>) at >>/opt/redhat/gnupro-06r1-1/sources/tools/cross/gdb/testsuite/gdb.base/advan\ce.c:6^M >>6 int b = a + 10;^M >>(gdb) FAIL: gdb.base/advance.exp: advance function called as param >> > > >>2006-05-31 Michael Snyder >> >> * mips-tdep.c (mips_gdbarch_init): EABI64, addr_bit is 32. > > > Wasn't Fred just looking at this? Jim posted a better solution, > that needed to be updated to current sources. > > Setting addr_bit to 32 is incorrect, addresses have 64 bits on this > target. It's the use of TARGET_ADDR_BIT in the dwarf reader that's > wrong. 'K, I'll look for Jim's post. About when was it posted?