GDB on SGI Irix 6.5

Eli Zaretskii
Wed Jun 13 11:40:00 GMT 2001

> Date: Wed, 13 Jun 2001 09:50:09 -0700 (PDT)
> From: David B Anderson <>
> The irix 64 dwarf2 debug info is identical 
> to what dwarf2read.c reads (and only dwarf2read, not anything else)
> except for the initial bytes of CU being 8 bytes, not 12
> (see dwarf2read) and the determination of offset and length
> size being based on 'IRIX6.5' not on internal evidence in the dwarf
> itself.

So you are saying that there's nothing in the file--not a single
thing--that would allow GDB to find out if the debug info is for 64 or
n32 ABI?

Would it be reasonable then to try one format, and if that fails, try
the other?  (I know that it fails somewhere, because when I try to
debug a 64-bit executable with GDB built from current CVS, it
complains about something like ``wrong version'' (IIRC).)

More information about the Gdb mailing list