[PATCH 3/4] process: Add display of memory around registers when displaying regs.

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Dec 14 04:34:50 EST 2010


On Mon, Dec 13, 2010 at 08:57:38PM -0800, John Stultz wrote:
> From: San Mehat <san at google.com>
> 
> This is extremely useful in diagnosing remote crashes, and is based heavily
> on original work by <md at google.com>.

Why reinvent dump_mem() ?

If we dump out two lines of data per register, that's 32 additional
lines in the oops dump.  That might make it difficult to get the
register information which may have been lost off the scrollback.

Or worse still, it might wrap the kernel buffers before syslog gets
it.



More information about the linux-arm-kernel mailing list