> > 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.
> 
> It looks like the access to address 0 happens when gdb tries to
> examine the stack frames.  Please note the "Sending packet" just
> before the timeout (the timeout occures because gdbserver crashed).
> 
> Further, there are two packets "Packet received: E01" which seem to be
> some sort of error indication.

I've finally tracked down the problem.  It turns out that PT_TEXT_ADDR,
PT_DATA_ADDR and PT_TEXT_ADDR are not defined for armnommu.  That caused
linux_read_offsets() to be a no-op.  Attached patch works as an
quick-n-dirty workaround.  Any ideas how to make a _real_ fox for it?

Attachment: pt-addr.patch
Description: pt-addr.patch

_______________________________________________
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