From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Eli Zaretskii Cc: gdb@sources.redhat.com Subject: Re: GDB on SGI Irix 6.5 Date: Mon, 30 Apr 2001 10:01:00 -0000 Message-id: <3AED9A6D.CA01D20E@cygnus.com> References: <3405-Thu19Apr2001160546+0300-eliz@is.elta.co.il> X-SW-Source: 2001-04/msg00228.html > - 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