* 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.
This commit is contained in:
Mark Kettenis 2002-06-15 13:47:20 +00:00
parent 1cf88de5c5
commit b335f4a6cd
2 changed files with 4 additions and 11 deletions

View 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

View File

@ -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"