This is the mail archive of the gdb@sources.redhat.com 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]

Re: GDB on SGI Irix 6.5





>  - Should I make the change in tm-irix5.h, or should I leave it alone
>    and create irix6x.h?  The issue here is that perhaps Irix 5 did
>    work like tm-irix5.h says, and I won't want to break that.

I suggest creating tm-irix6.h
IMO it's misleading to keep using the irix5 designation for irix6
and will lead to difficulty. But I'm far far from being an expert
on gdb, so take this with  a grain of salt.

>  - What should I do about the different ABIs?  At least 3 come to
>    mind: O32, N32, and N64.  They have subtly different layouts of
>    registers, so if I need to set things up for more than a single
>    ABI, I'll need to know what's the current say-so about how this
>    should be done (e.g., does gdbarch has some functionality for
>    dynamically computing the registers array?).

The register layouts for n32 and 64 are the same.
Pointer and int are different sizes, but the registers
themselves are the same and designated the same.

The register set for o32 is different, and should be the same as for
irix5.

Recall that o32 uses the mdebug/third-eye format for debug info
while n32/64 uses dwarf2 exlusively for debug info
(should be irrelevant as far as registers go though).

I am not much help in determining the 'right way to do things' for
gdb, but if there is any way I can help with building or
testing or anything on IRIX6.5, let me know.

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


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