[robertl@sco.com: threads RH6/Sparc vs. GDB]

Robert Lipe robertl@sco.com
Mon Nov 1 10:10:00 GMT 1999


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

Yes, that does definitely sound familar now that you mention it.  This
has been in my local tree for several months, so I had forgotten the
details.  Only by looking at the cpp output does it become "obvious".


RJL


More information about the Gdb-patches mailing list