This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS: 64-bit DWARF

On Thu, 15 Jul 2010, Tom Tromey wrote:

> >>>>> "Maciej" == Maciej W Rozycki <> writes:
> I trimmed the CCs.
> Maciej> GDB as of 6.8 didn't cope at all with 64-bit DWARF records that
> Maciej> were generated for n64 binaries before the switch (for the MIPS
> Maciej> platform, that is -- I'd expect it to work for some others,
> Maciej> especially ones that have always been 64-bit like the Alpha) --
> Maciej> the usual symptom was a complete exhaustion of the stack space
> Maciej> followed by a crash (tested natively only).
> Could you try a newer gdb?  And, if it still fails, file a bug report?
> gdb isn't fully ready for 64 bit DWARF (e.g., CU offsets are still just
> unsigned ints), but it shouldn't crash.

I fixed problems with GCC's 64-bit DWARF output with 
<> and switched to 
32-bit output with 
<>.  There won't 
have been many compilers that produced correct 64-bit DWARF for this 
target, rather than broken 64-bit DWARF or correct 32-bit DWARF.  (And, 
yes, GDB had a propensity to crash then on broken DWARF debug info, and 
I'm not aware of it since having been fixed to handle broken debug info 

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]