does GDB support IRIX 64 bit executables?

David B Anderson davea@quasar.engr.sgi.com
Fri Jun 2 09:17:00 GMT 2000


On: irix 64 bit pointer apps and dwarf2 and gdb

robert somerville <somervil@cadvision.com>
writes:
>i got this patch from : 
>            Benjamin Gamsa <ben@eecg.toronto.edu>

The patch makes no distinction between address-size
and offset-size in the dwarf2, but that is
an essential distinction, I think. 
I think the patch as written
will break alpha-64-bit-pointers-using-dwarf2 in dwarf2read.c

That is, it will break
any non-sgi target with 64bit pointers and dwarf2, 
as *only* SGI extended offsets/lengths in dwarf2 to 64bits for
64bit pointer apps.  And the patch makes no provision for
the coming dwarf2 revision with its compatible allowance
of 32-bit-offset and 64-bit-offset dwarf2 in a single
object file.

I believe this is very easily dealt with.

I hope to get to this to suggest a revised patch soon, but
of course, promises are worthless :-)

Regards,
David B. Anderson davea@sgi.com danderson@acm.org http://reality.sgi.com/davea/


More information about the Gdb mailing list