Re: frame theory, was pointer madness

Daniel Jacobowitz
2006-01-26T22:44:34Z

On Thu, Jan 26, 2006 at 11:40:07PM +0100, Mark Kettenis wrote:
> To me, it looks like you're connecting to a buggy stub.

He's connecting to basically a standard gdbserver, poised at
the first instruction of the program. Memory has garbage
and/or is invalid - no MMU so reading from garbage memory
is a bit more serious than is typical for GDB.

The best thing here would be, if the stub can find out from
the kernel what constitutes "valid" RAM, to refuse reads to
it. Then ignore the ugliness when you type backtrace and
don't have a stack yet - it's not real surprising that doesn't
work!

--
Daniel Jacobowitz
CodeSourcery