This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: mips64 gdb problem
- From: Daniel Jacobowitz <drow at false dot org>
- To: maxim at mox dot ru
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 24 Jun 2005 10:10:30 -0400
- Subject: Re: mips64 gdb problem
- References: <6097c490506240642317a9836@mail.gmail.com>
On Fri, Jun 24, 2005 at 05:42:25PM +0400, Maxim Osipov wrote:
> Hello,
>
> I have a problem trying to debug 64-bit mips binary with gdb-6.3. It
> fails with the following message:
>
> /home # gdb 64test
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "mips64-linux-gnu"...
> ../../gdb-6.3/gdb/dwarf2-frame.c:1411: internal-error:
> decode_frame_entry_1: Assertion `fde->cie != NULL' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n)
GCC generates a wacky 64-bit format, otherwise only used on IRIX. I
think this is a bug in GCC. GDB could be adapted to generally sort of
cope with it, but not completely - there's some ambiguity.
--
Daniel Jacobowitz
CodeSourcery, LLC