aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-29 20:53:27 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-29 20:53:27 +0000
commite910f676f70b59dc510554d59b3fa603622e019e (patch)
treef7a4604ef3882ad636d083fcef1ada9b17ef3176 /gdb/config/vax
parent2004-07-29 Andrew Cagney <cagney@gnu.org> (diff)
downloadbinutils-gdb-e910f676f70b59dc510554d59b3fa603622e019e.tar.gz
binutils-gdb-e910f676f70b59dc510554d59b3fa603622e019e.tar.bz2
binutils-gdb-e910f676f70b59dc510554d59b3fa603622e019e.zip
2004-07-29 Andrew Cagney <cagney@gnu.org>
* config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ... * config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ... * config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ... * config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here. * config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ... * config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
Diffstat (limited to 'gdb/config/vax')
-rw-r--r--gdb/config/vax/nm-vax.h4
-rw-r--r--gdb/config/vax/xm-vax.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/gdb/config/vax/nm-vax.h b/gdb/config/vax/nm-vax.h
index 2518047290f..b1d73b6ab59 100644
--- a/gdb/config/vax/nm-vax.h
+++ b/gdb/config/vax/nm-vax.h
@@ -20,6 +20,10 @@
#define AP_REGNUM 12 /* XXXJRT */
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG))
+
#define REGISTER_U_ADDR(addr, blockend, regno) \
{ addr = blockend - 0110 + regno * 4; \
if (regno == PC_REGNUM) addr = blockend - 8; \
diff --git a/gdb/config/vax/xm-vax.h b/gdb/config/vax/xm-vax.h
index d1057a8ee41..c859c0a6d1d 100644
--- a/gdb/config/vax/xm-vax.h
+++ b/gdb/config/vax/xm-vax.h
@@ -18,11 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
-
-#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG))
-
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
#define ONE_PROCESS_WRITETEXT