summaryrefslogtreecommitdiff
path: root/gdb/config/arm
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
commit471ae5aee1e717a1ea56e95697108a8077fc5ad0 (patch)
tree525e0c17efb83c1e7a9e71f7dd41a6c4f2570038 /gdb/config/arm
parent62eceb47ddaf9adbd5f22edc0c78a7254ac31305 (diff)
downloadbinutils-gdb-471ae5aee1e717a1ea56e95697108a8077fc5ad0.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/arm')
-rw-r--r--gdb/config/arm/nm-linux.h4
-rw-r--r--gdb/config/arm/xm-linux.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/config/arm/nm-linux.h b/gdb/config/arm/nm-linux.h
index 3de00c915ca..1d7bbaa8650 100644
--- a/gdb/config/arm/nm-linux.h
+++ b/gdb/config/arm/nm-linux.h
@@ -31,6 +31,10 @@
extern int kernel_u_size (void);
#define KERNEL_U_SIZE arm_linux_kernel_u_size()
+/* 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
+
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
#define FETCH_INFERIOR_REGISTERS
diff --git a/gdb/config/arm/xm-linux.h b/gdb/config/arm/xm-linux.h
index fa82a1e8f39..b59f2658932 100644
--- a/gdb/config/arm/xm-linux.h
+++ b/gdb/config/arm/xm-linux.h
@@ -21,8 +21,4 @@
#ifndef XM_ARMLINUX_H
#define XM_ARMLINUX_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 /* XM_ARMLINUX_H */