Re: [RFA] mips, eabi64, addr_bit == 32

Michael Snyder
2006-05-31T23:41:29Z

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 <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.

'K, I'll look for Jim's post. About when was it posted?