aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips/nm-irix5.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-29 21:36:58 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-29 21:36:58 +0000
commite57b8d41d55e78cde56ef4da5d3da9d110c05bf0 (patch)
tree978d1721fc8d5407301fb4bb53131e60c5bac06d /gdb/config/mips/nm-irix5.h
parentd334389b5f803b47012d15224901e7774b485655 (diff)
downloadgdb-e57b8d41d55e78cde56ef4da5d3da9d110c05bf0.zip
gdb-e57b8d41d55e78cde56ef4da5d3da9d110c05bf0.tar.gz
gdb-e57b8d41d55e78cde56ef4da5d3da9d110c05bf0.tar.bz2
2004-07-29 Andrew Cagney <cagney@gnu.org>
* config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ... * config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here.
Diffstat (limited to 'gdb/config/mips/nm-irix5.h')
-rw-r--r--gdb/config/mips/nm-irix5.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/mips/nm-irix5.h b/gdb/config/mips/nm-irix5.h
index 6bdab30..33a8a8c 100644
--- a/gdb/config/mips/nm-irix5.h
+++ b/gdb/config/mips/nm-irix5.h
@@ -45,3 +45,10 @@ extern int procfs_stopped_by_watchpoint (ptid_t);
extern int procfs_set_watchpoint (ptid_t, CORE_ADDR, int, int, int);
#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1
+
+/* Override register locations in upage for SGI machines */
+#define REGISTER_U_ADDR(addr, blockend, regno) \
+ if (regno < PC_REGNUM) \
+ addr = regno; \
+ else \
+ addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */