Skip to contentSkip to conversation

mips64 gdb problem

DISCUSSION Maxim Osipov 1 participant 1 message Jun 24, 2005 2 messages not in the archive MIPS

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Hello,

I wonder, is there some way to get debuger working on N64 target?

Thanks,
Maxim

---------- Forwarded message ----------
From: Daniel Jacobowitz <[email protected]>
Date: Jun 24, 2005 6:10 PM
Subject: Re: mips64 gdb problem
To: [email protected]
Cc: [email protected]

Quoted 5 lines · Maxim Osipov

Hello,

I have a problem trying to debug 64-bit mips binary with gdb-6.3. It fails with the following message:

Quoted 13 lines

/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