diff options
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/arm/nm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/arm/xm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/ia64/nm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/ia64/xm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/nm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/xm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/powerpc/nm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/powerpc/xm-linux.h | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/gdb/config/arm/nm-linux.h b/gdb/config/arm/nm-linux.h index 3de00c9..1d7bbaa 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 fa82a1e..b59f265 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 */ diff --git a/gdb/config/ia64/nm-linux.h b/gdb/config/ia64/nm-linux.h index 5e9df60..20229a0 100644 --- a/gdb/config/ia64/nm-linux.h +++ b/gdb/config/ia64/nm-linux.h @@ -26,6 +26,10 @@ struct target_ops; #include "config/nm-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 + /* Note: It seems likely that we'll have to eventually define FETCH_INFERIOR_REGISTERS. But until that time, we'll make do with the following. */ diff --git a/gdb/config/ia64/xm-linux.h b/gdb/config/ia64/xm-linux.h index adf6b21..f6cecbf 100644 --- a/gdb/config/ia64/xm-linux.h +++ b/gdb/config/ia64/xm-linux.h @@ -21,8 +21,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 */ diff --git a/gdb/config/m68k/nm-linux.h b/gdb/config/m68k/nm-linux.h index 26aa197..9b6208b 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 29e3980..6c4dd38 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 */ diff --git a/gdb/config/powerpc/nm-linux.h b/gdb/config/powerpc/nm-linux.h index 6e3f3a0..70c7fe3 100644 --- a/gdb/config/powerpc/nm-linux.h +++ b/gdb/config/powerpc/nm-linux.h @@ -28,6 +28,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #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 FETCH_INFERIOR_REGISTERS #endif /* #ifndef NM_LINUX_H */ diff --git a/gdb/config/powerpc/xm-linux.h b/gdb/config/powerpc/xm-linux.h index 73e7c40..20f509c 100644 --- a/gdb/config/powerpc/xm-linux.h +++ b/gdb/config/powerpc/xm-linux.h @@ -21,8 +21,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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 */ |