This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: A PPC patch for glibc 2.1
- To: geoffk@ozemail.com.au (Geoff Keating)
- Subject: Re: A PPC patch for glibc 2.1
- From: hjl@lucon.org (H.J. Lu)
- Date: Thu, 3 Dec 1998 13:52:05 -0800 (PST)
- Cc: howarth@bromo.med.uc.edu, libc-hacker@cygnus.com
>
> > From: hjl@lucon.org (H.J. Lu)
> > Date: Wed, 2 Dec 1998 22:24:44 -0800 (PST)
> > Cc: libc-hacker@cygnus.com (GNU C Library)
> >
> > Hi,
> >
> > This patch is needed by my upcoming gdb 4.17.0.6.
>
> What's wrong with the existing files? The following works fine for
> me in 2.0.104:
>
> [geoffk@geoffk geoffk]$ cat > x.c
> #include <sys/types.h>
> #include <sys/user.h>
> #include <sys/procfs.h>
> [geoffk@geoffk geoffk]$ gcc x.c -c
> [geoffk@geoffk geoffk]$
Please add
#include <sys/ptrace.h>
to see what happens.
> Perhaps it would be better if you only defined the things you really
> needed. But I can't see anything at all in this file that you should
> need! They are all either stored in the core file, or don't seem to
> be particularly relevant to a debugger. What have I missed?
>
As far as I know, those files are used by gdb only. Noone else
should use them. I don't have a local PPC machine to find out
the minimum stuff gdb needs. If you want, I can make the gdb
4.17.0.6 patch available so that you can reduce the contents
of those to minimum.
--
H.J. Lu (hjl@gnu.org)