(fwd) gdb vs. glibc (glibc-devel-2.0.7-19, aka RedHat 5.1) vs linux 2.1.124
H. J. Lu
hjl@freya.yggdrasil.com
Wed Oct 7 08:23:00 GMT 1998
Newsgroups: ygg.internal.lists.linux.kernel
Path: ratatosk.yggdrasil.com!not-for-mail
X-Env-Sender: owner-linux-kernel-outgoing@vger.rutgers.edu
Date: Tue, 6 Oct 1998 18:06:49 -0400
Message-ID: <199810062206.SAA23169@tiktok.cygnus.com>
X-Hdr-Sender: meissner@cygnus.com
From: Michael Meissner <meissner@cygnus.com>
Subject: gdb vs. glibc (glibc-devel-2.0.7-19, aka RedHat 5.1) vs linux 2.1.124
X-Orcpt: rfc822;linux-kernel@vger.rutgers.edu
Sender: owner-linux-kernel@vger.rutgers.edu
X-Loop: majordomo@vger.rutgers.edu
Lines: 24
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/
More information about the Libc-hacker
mailing list