summaryrefslogtreecommitdiff
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
commit9b9961855d0a890624d441c8030588182d36529c (patch)
treedd046196e9293625ac410b66af5fa1d6a74f545a
parent89b64ad41363397d51389b07d4a1cbdf351f5049 (diff)
downloadgdb-9b9961855d0a890624d441c8030588182d36529c.tar.gz
* 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 14d1bb3c00b..bf7b444cec0 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 672ddfbf808..c603b281966 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"