summaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-29 20:22:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-29 20:22:50 +0000
commitafbd7bba945be23e137196564438d8303c63afb0 (patch)
tree06b1b5806ba75b51c9496887de3469277cd9de4b /gdb/config/m68k
parent0a369774288225ac557747831ddca35a43809ce6 (diff)
downloadgdb-afbd7bba945be23e137196564438d8303c63afb0.tar.gz
2004-07-29 Andrew Cagney <cagney@gnu.org>
* config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here. * config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here. * config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here. * config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r--gdb/config/m68k/nm-linux.h4
-rw-r--r--gdb/config/m68k/xm-linux.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/config/m68k/nm-linux.h b/gdb/config/m68k/nm-linux.h
index 26aa19768ad..9b6208b3ffd 100644
--- a/gdb/config/m68k/nm-linux.h
+++ b/gdb/config/m68k/nm-linux.h
@@ -28,6 +28,10 @@
#define KERNEL_U_SIZE kernel_u_size()
extern int kernel_u_size (void);
+/* 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 0x0
+
#define U_REGS_OFFSET 0
#define REGISTER_U_ADDR(addr, blockend, regno) \
diff --git a/gdb/config/m68k/xm-linux.h b/gdb/config/m68k/xm-linux.h
index 29e39807f7b..6c4dd38b1a4 100644
--- a/gdb/config/m68k/xm-linux.h
+++ b/gdb/config/m68k/xm-linux.h
@@ -22,8 +22,4 @@
#ifndef XM_LINUX_H
#define XM_LINUX_H
-/* 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 0x0
-
#endif /* #ifndef XM_LINUX_H */