Speaking personally, not as a Cygnus representative (and in any case, I work on
GCC, not GDB), this patch as presented is not acceptable for inclusion into
gdb, since there are other i386 systems that provide sys/debugreg.h that this
would break (notably sco5). I really think either glibc or the kernel should
provide the right files so that including sys/debugreg.h works as expected.
> --- gdb/i386v-nat.c Thu Jan 4 21:07:50 1996
> +++ gdb/i386v-nat.c Tue Aug 25 17:41:34 1998
> @@ -35,7 +35,7 @@
> #include <fcntl.h>
>
> #ifdef TARGET_HAS_HARDWARE_WATCHPOINTS
> -#include <sys/debugreg.h>
> +#include <asm/debugreg.h>
> #endif
>
> #include <sys/file.h>
-- Michael Meissner, Cygnus Solutions (Massachusetts office) 4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA meissner@cygnus.com, 617-354-5416 (office), 617-354-7161 (fax)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/