This is the mail archive of the libc-hacker@sourceware.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


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


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