I wrote:

> With this, the compile succeeds, I can connect to the server, 
> but I get a Oops when I issue a "step" command.    
> 
> It seems to be a problem with get_user_pages (called from the
> ptrace() call).
> I have checked with
> http://www.ucdot.org/article.pl?sid=03/01/07/0214244&mode=thread
> This article seems to be pretty much outdated, btw.
> 
> At least the vfork, float, qOffsets and PEEKUSR problems seem to be
> already addressed in vanilla gdb.  But I am confused about the
> send_area() thing. It looks like the code has changed a lot since
> then.  But since the send_area() patch seems to be closely related
> to ptrace(), I guess this is where my Oops comes from.

I have tracked down this a little bit further.  it turns out that
read_inferior_memory() is called with memaddr==0, which is simply
wrong if there's no MMU available.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to