This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: gdb 4.17 & glibc-2.0.104
- To: alex.buell@tahallah.demon.co.uk
- Subject: Re: gdb 4.17 & glibc-2.0.104
- From: John Kennedy <jk@csuchico.edu>
- Date: Sun, 29 Nov 1998 08:10:56 -0800 (PST)
- Cc: glibc <libc-alpha@cygnus.com>
[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 */