From: Daniel Jacobowitz <drow@false.org>
To: Michael Snyder <msnyder@redhat.com>
Cc: brobecker@adacore.com,
GDB Patches <gdb-patches@sources.redhat.com>,
fnf@specifix.com
Subject: Re: [RFA] mips, eabi64, addr_bit == 32
Date: Wed, 31 May 2006 23:39:00 -0000 [thread overview]
Message-ID: <20060531233451.GA31663@nevyn.them.org> (raw)
In-Reply-To: <447E25F0.3010009@redhat.com>
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 <msnyder@redhat.com>
>
> * 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.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-05-31 23:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-31 23:32 Michael Snyder
2006-05-31 23:39 ` Daniel Jacobowitz [this message]
2006-05-31 23:47 ` Michael Snyder
2006-06-01 1:55 ` Daniel Jacobowitz
2006-06-08 19:21 ` Michael Snyder
2006-06-08 19:39 ` Fred Fish
2006-06-17 23:15 ` Mark Kettenis
2006-06-20 20:29 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060531233451.GA31663@nevyn.them.org \
--to=drow@false.org \
--cc=brobecker@adacore.com \
--cc=fnf@specifix.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox