Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [commit] Move REGISTER_U_ADDR to nm file
Date: Thu, 29 Jul 2004 21:37:00 -0000	[thread overview]
Message-ID: <41096E2D.9040302@gnu.org> (raw)

[-- 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

                 reply	other threads:[~2004-07-29 21:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41096E2D.9040302@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox