aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-06-15 13:47:20 +0000
committerMark Kettenis <kettenis@gnu.org>2002-06-15 13:47:20 +0000
commitb335f4a6cdc92da1e787688fa854e23e6a78e409 (patch)
tree75e8bfccb877295703a4c18737ac9c1e7ff31610
parent1cf88de5c58d1400451fe01135e975e9a0a21921 (diff)
downloadfsf-binutils-gdb-b335f4a6cdc92da1e787688fa854e23e6a78e409.zip
fsf-binutils-gdb-b335f4a6cdc92da1e787688fa854e23e6a78e409.tar.gz
fsf-binutils-gdb-b335f4a6cdc92da1e787688fa854e23e6a78e409.tar.bz2
* i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>,
and associated comment. They no longer make any sense, since we don't use this file anymore on Linux.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/i386v-nat.c11
2 files changed, 4 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 14d1bb3..bf7b444 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-06-15 Mark Kettenis <kettenis@gnu.org>
+ * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>,
+ and associated comment. They no longer make any sense, since we
+ don't use this file anymore on Linux.
+
* config/i386/tm-i386.h (MAX_NUM_REGS): Removed.
* i386-tdep.c (i386_register_offset, i386_register_size): Use
I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c
index 672ddfb..c603b28 100644
--- a/gdb/i386v-nat.c
+++ b/gdb/i386v-nat.c
@@ -46,20 +46,9 @@
#include <sys/ioctl.h>
#include <fcntl.h>
-
-/* FIXME: 1998-10-21/jsm: The following used to be just "#include
- <sys/debugreg.h>", but the the Linux kernel (version 2.1.x) and
- glibc 2.0.x are not in sync; including <sys/debugreg.h> will result
- in an error. With luck, these losers will get their act together
- and we can trash this hack in the near future. */
-
#ifdef TARGET_HAS_HARDWARE_WATCHPOINTS
-#ifdef HAVE_ASM_DEBUGREG_H
-#include <asm/debugreg.h>
-#else
#include <sys/debugreg.h>
#endif
-#endif
#include <sys/file.h>
#include "gdb_stat.h"