15 Jul 2010 17:48
Re: MIPS: 64-bit DWARF
Tom Tromey <tromey <at> redhat.com>
2010-07-15 15:48:33 GMT
2010-07-15 15:48:33 GMT
>>>>> "Maciej" == Maciej W Rozycki <macro <at> codesourcery.com> 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. Maciej> TE_IRIX refers to the original 64-bit DWARF stuff invented by Maciej> SGI that predates DWARF-3 and differs slightly from the latter. Maciej> This may perhaps be the reason of the GDB crash -- it may have Maciej> this SGI variant hardcoded for the MIPS target or suchlike. gdb's dwarf reader doesn't use the target for this. It just recognizes the SGI approach unconditionally. See dwarf2read.c:read_initial_length. Tom
RSS Feed