summaryrefslogtreecommitdiff
path: root/gdb/hppa-linux-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-12-31 15:49:44 +0000
committerDaniel Jacobowitz <drow@false.org>2007-12-31 15:49:44 +0000
commitafa35021253a1e71b3b111be45da63e59bb60a20 (patch)
treeb9a01bf78cd41fe7a498bf4f926dec14aa09cd28 /gdb/hppa-linux-nat.c
parent98b528ac84b99ab40e7cbb46d50c81bba7545649 (diff)
downloadbinutils-gdb-afa35021253a1e71b3b111be45da63e59bb60a20.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"