This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix thread debugging on Sparc/Linux


On Tue, Apr 04, 2006 at 03:54:56PM -0700, David S. Miller wrote:
> I'm adding support for PTRACE_PEEKUSER with offset 0 in the kernel in
> order to cure this.  Linux/Sparc is the only platform that doesn't
> support this and just returning a dummy zero value for this special
> case is fine with me.

OK, that works too :-)

> The checkpoint/restart stuff is also non-functional on Linux/Sparc,
> but I think that could be due to some bug in event message handling on
> that platform.

Is gdb a 32-bit or 64-bit binary?  I bet there's problems with a
32-bit binary.  At least one is that the event message is
stored as a long.

Hmm, might want a compat_ptrace_request.

-- 
Daniel Jacobowitz
CodeSourcery


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