gdb 4.17 & glibc-2.0.104
John Kennedy
jk@csuchico.edu
Sun Nov 29 08:11:00 GMT 1998
[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 */
More information about the Libc-alpha
mailing list