diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-29 20:22:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-29 20:22:50 +0000 |
commit | 471ae5aee1e717a1ea56e95697108a8077fc5ad0 (patch) | |
tree | 525e0c17efb83c1e7a9e71f7dd41a6c4f2570038 /gdb/config/powerpc | |
parent | 62eceb47ddaf9adbd5f22edc0c78a7254ac31305 (diff) | |
download | gdb-471ae5aee1e717a1ea56e95697108a8077fc5ad0.zip gdb-471ae5aee1e717a1ea56e95697108a8077fc5ad0.tar.gz gdb-471ae5aee1e717a1ea56e95697108a8077fc5ad0.tar.bz2 |
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/powerpc')
-rw-r--r-- | gdb/config/powerpc/nm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/powerpc/xm-linux.h | 4 |
2 files changed, 4 insertions, 4 deletions
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 */ |