diff options
Diffstat (limited to 'gdb/xm-irix3.h')
-rw-r--r-- | gdb/xm-irix3.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/xm-irix3.h b/gdb/xm-irix3.h index ce934c9..e155a41 100644 --- a/gdb/xm-irix3.h +++ b/gdb/xm-irix3.h @@ -20,7 +20,17 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HAVE_TERMIO +#define U_REGS_OFFSET 0 + #include "xm-bigmips.h" +/* Override register locations in upage for SGI machines */ +#undef REGISTER_U_ADDR +#define REGISTER_U_ADDR(addr, blockend, regno) \ + if (regno < PC_REGNUM) \ + addr = regno; \ + else \ + addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */ + /* Don't need special routines for the SGI -- we can use infptrace.c */ #undef FETCH_INFERIOR_REGISTERS |