This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix .debug_line for MIPS -msym32
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org
- Date: Wed, 11 Jul 2007 15:59:27 +0100
- Subject: Re: Fix .debug_line for MIPS -msym32
- References: <20070711140057.GA11412@caradoc.them.org>
Daniel Jacobowitz wrote:
> I discovered that a MIPS64 Linux kernel built with the GCC -msym32
> option caused GDB to crash. The address size in the .debug_info
> compilation header was 4, but the .debug_line section used R_MIPS_64
> relocations for DW_LNE_set_address. The former was generated by GCC,
> the latter by gas.
>
> Richard pointed me in the right direction for this fix. It causes no
> change in the binutils testsuite, and GDB no longer crashes. OK
> to commit?
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
> 2007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
>
> * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
> HAVE_64BIT_SYMBOLS.
Ok.
Thiemo