aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/nm-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/powerpc/nm-linux.h')
-rw-r--r--gdb/config/powerpc/nm-linux.h4
1 files changed, 4 insertions, 0 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 */