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
> Date: Sun, 29 Nov 1998 09:53:45 -0500 (EST)
> From: Alex Buell <alex.buell@tahallah.demon.co.uk>
> Reply-To: alex.buell@tahallah.demon.co.uk
>
> 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.
My headers say:
/* Attach to a process that is already running. */
PTRACE_ATTACH = 16,
#define PT_ATTACH PTRACE_ATTACH
/* Detach from a process attached to with PTRACE_ATTACH. */
PTRACE_DETACH = 17,
#define PT_DETACH PTRACE_DETACH
Is there some reason why the #defines don't match the enum constants?
--
Geoffrey Keating <geoffk@ozemail.com.au>