aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-irix3.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-12 07:11:48 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-12 07:11:48 +0000
commitdf6335e19f0b678f5c3842cb91e1373b1f27eafc (patch)
tree717720a5cbf7a85b2c11156a1b6a2d9565070b45 /gdb/xm-irix3.h
parent96eb46258b717266ddef1f850be124c6925a8a3f (diff)
downloadgdb-df6335e19f0b678f5c3842cb91e1373b1f27eafc.zip
gdb-df6335e19f0b678f5c3842cb91e1373b1f27eafc.tar.gz
gdb-df6335e19f0b678f5c3842cb91e1373b1f27eafc.tar.bz2
* tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move
REGISTER_U_ADDR to corresponding xm- file. Sugg. by Peter Schauer.
Diffstat (limited to 'gdb/xm-irix3.h')
-rw-r--r--gdb/xm-irix3.h10
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