lin-lwp.c and UltraSPARC
Daniel Jacobowitz
drow@mvista.com
Sat Nov 1 00:47:00 GMT 2003
On Fri, Oct 31, 2003 at 04:31:51PM -0700, Kevin Buettner wrote:
> On Oct 31, 9:38pm, Mark Kettenis wrote:
>
> > I'm also thinking about replacing the PTRACE_PEEKUSER with a
> > PTRACE_PEEKDATA since the latter should be implemented on all
> > architectures. In that case the call would probably fail the same way
> > on all architectures (assuming that nothing is mapped at address 0 on
> > all those architectures).
>
> This sounds like a good idea.
Yes, I agree. Interesting, this explains a number of pending Debian
bug reports... you could also PEEKDATA at an address that we expect to
be mapped. $sp might work.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list