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 think everyone has agreed on tm-irix6.h.

>   - 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?).

By subtle differences in registers do you mean the register use or
layout?

mips-tdep.c:mips_gdbarch_init() is hopefully already detecting the ABI
and setting things up to handle the register usage differences.

With regard to register layout, the MIPS still, unfortunatly, uses a
static configuration.  multi-arch can support dynamic register layouts,
it is just not implemented for MIPS.

	Andrew


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