This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb 4.17 & glibc-2.0.104


[Alex Buell]
>  Is there a patch for gdb-4.17 or a newer version around to enable it
>  to be built with glibc-2.0.104? I'm getting two errors for unknown
>  definitions of PTRACE_ATTACH & PTRACE_DETACH.

  I've been using this one since glibc-2.0.95 against gdb-4.17.
								--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- ./gdb/config/i386/nm-linux.h.OLD	Tue Apr 21 18:23:16 1998
+++ ./gdb/config/i386/nm-linux.h	Thu Jul 30 21:10:48 1998
@@ -74,4 +74,8 @@
 extern int
 i386_remove_watchpoint PARAMS ((int pid, CORE_ADDR addr, int len));
 
+#ifndef	PTRACE_ATTACH
+#include <linux/ptrace.h>
+#endif
+
 #endif /* #ifndef NM_LINUX_H */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]