process: Add display of memory around registers when displaying regs.
authorSan Mehat <san@google.com>
Tue, 25 Aug 2009 23:52:22 +0000 (16:52 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:59 +0000 (13:53 -0800)
commit7ad60b42bca671a3b2b60ba2663b312cecc9cdd2
treee98ec5a159064007087d96e9005d62a8eb87a6de
parente9db98677f921dc1604a6bf1de2e0b0e8f4f9ae5
process: Add display of memory around registers when displaying regs.

This is extremely useful in diagnosing remote crashes, and is based heavily
on original work by <md@google.com>.

Signed-off-by: San Mehat <san@google.com>
Cc: Michael Davidson <md@google.com>
[ARM] process: Use uber-safe probe_kernel_address() to read mem when dumping.

This prevents the dump from taking pagefaults / external aborts.

Change-Id: I8df76e8638780f94fb1bd7ea4471e3f7b01df950
Signed-off-by: San Mehat <san@google.com>
arch/arm/kernel/process.c