summaryrefslogtreecommitdiff
path: root/gdb/hppa-linux-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-12-31 15:49:44 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-12-31 15:49:44 +0000
commitdc6e73c406a8c66c79b0052d7a9f8dfd62a38c44 (patch)
tree23a7a0198043a7589f4ad1b75c021b27ab36348b /gdb/hppa-linux-nat.c
parent6b41dbe54ea235208b542ea47e4a3d0f56164067 (diff)
downloadgdb-dc6e73c406a8c66c79b0052d7a9f8dfd62a38c44.tar.gz
* hppa-linux-nat.c: Use hppa-linux-offsets.h.
* hppa-linux-offsets.h: New file.
Diffstat (limited to 'gdb/hppa-linux-nat.c')
-rw-r--r--gdb/hppa-linux-nat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/hppa-linux-nat.c b/gdb/hppa-linux-nat.c
index def0f8657ad..366d1fcf517 100644
--- a/gdb/hppa-linux-nat.c
+++ b/gdb/hppa-linux-nat.c
@@ -29,11 +29,8 @@
#include <sys/ptrace.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,43)
-#include <asm/offset.h>
-#else
-#include <asm/offsets.h>
-#endif
+#include <asm/ptrace.h>
+#include "hppa-linux-offsets.h"
#include "hppa-tdep.h"