* [commit] Move REGISTER_U_ADDR to nm file
@ 2004-07-29 21:37 Andrew Cagney
0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2004-07-29 21:37 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 39 bytes --]
Just one this time, committed.
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1746 bytes --]
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.
Index: config/mips/nm-irix5.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/nm-irix5.h,v
retrieving revision 1.8
diff -p -u -r1.8 nm-irix5.h
--- config/mips/nm-irix5.h 4 Sep 2003 18:04:25 -0000 1.8
+++ config/mips/nm-irix5.h 29 Jul 2004 21:35:55 -0000
@@ -45,3 +45,10 @@ extern int procfs_stopped_by_watchpoint
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 */
Index: config/mips/xm-irix5.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/xm-irix5.h,v
retrieving revision 1.4
diff -p -u -r1.4 xm-irix5.h
--- config/mips/xm-irix5.h 5 Jun 2002 19:18:25 -0000 1.4
+++ config/mips/xm-irix5.h 29 Jul 2004 21:35:55 -0000
@@ -21,14 +21,6 @@
#include "config/xm-sysv4.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 */
-
/* This enables reliable signals (and the associated setjmp/longjmp), and gives
bsdish prototypes for getpgrp/setpgrg/setgroups and initgroups. */
#define _BSD_COMPAT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-29 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 21:37 [commit] Move REGISTER_U_ADDR to nm file Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox