gdb vs. glibc (glibc-devel-2.0.7-19, aka RedHat 5.1) vs linux 2.1.124

Michael Meissner (meissner@cygnus.com)
Tue, 6 Oct 1998 18:06:49 -0400


It appears that there is a discrepancy between glibc 2.0.7-19 as
shipped with RedHat 5.1 and the current kernel 2.1.124 that prevents
native gdb from being built. In particular, gdb includes the
following file because it believes the 386 has hardware watchpoints:

<sys/debugreg.h>

/usr/include/sys/debugreg.h has:

#include <linux/debugreg.h>

There is no file /usr/src/linux/include/linux/debugreg.h, but there is
a version in /usr/src/linux/include/asm-i386 (ie <asm/debugreg.h>).
It looks like the change was made in 2.1.113.

-- 
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/