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

John Kennedy (jk@csuchico.edu)
Thu, 17 Sep 1998 07:25:02 -0700 (PWT)


[Ulrich Drepper]
>[Lin Zhe Min]
>> With GLIBC 2.0.95, /usr/include/sys/debugreg.h contains solely one line:
>>
>> #include <linux/debugreg.h>
>>
>> But actually this file in kernel 2.1.115 is at linux/include/asm-i386.
>> Confused... Any comments?
>
> Yes. In the next releases it does not depend on kernel headers.

It actually changed in linux-2.1.113. This is the patch I sent
in against glibc-2.0.95 I believe. If they're not making it dependent
on the kernel, then I rather doubt that they'll keep this one.

--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- ./sysdeps/unix/sysv/linux/sys/debugreg.h.OLD Thu Sep 26 20:44:16 1996
+++ ./sysdeps/unix/sysv/linux/sys/debugreg.h Mon Aug 10 15:40:24 1998
@@ -1 +1,7 @@
+#include <linux/version.h>
+
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,113))
+#include <asm/debugreg.h>
+#else
#include <linux/debugreg.h>
+#endif

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