* i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>,
authorMark Kettenis <kettenis@gnu.org>
Sat, 15 Jun 2002 13:47:20 +0000 (13:47 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 15 Jun 2002 13:47:20 +0000 (13:47 +0000)
and associated comment.  They no longer make any sense, since we
don't use this file anymore on Linux.

gdb/ChangeLog
gdb/i386v-nat.c

index 14d1bb3c00bd015041f2896ea4fb52321cdd6597..bf7b444cec0c41462f00145c558ab1632c626185 100644 (file)
@@ -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
index 672ddfbf80809e70b7f4211ed556df4a7b0692da..c603b2819666d976d6b8060ecd7b73f995c866e1 100644 (file)
 #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"
This page took 0.027965 seconds and 4 git commands to generate.