This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [robertl@sco.com: threads RH6/Sparc vs. GDB]
On Mon, Nov 01, 1999 at 12:42:23PM -0500, Jim Kingdon wrote:
> > From what I recall, sys/ptrace.h and one of the GDB headers were each
> > trying to outsmart the other.
>
> No, it is two system headers. /usr/include/asm-sparc/ptrace.h
> (included via a dizzying cascade of includes from
> /usr/include/signal.h) and /usr/include/sys/ptrace.h. The former
> contains "#define PTRACE_GETREGS 12" and the latter has an enum which
> contains "PTRACE_GETREGS = 12".
>
> DaveM, Jakub, let's get this fixed. We've been kludging around it in
> GDB long enough.
I hope this is already fixed, at least I hacked on it. But it is in 2.3.*
kernel headers and glibc 2.1.90 CVS, but I can backport it if needed.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________