diff options
author | Chuck Ebbert <76306.1226@compuserve.com> | 2006-09-25 23:32:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:55 -0700 |
commit | 99325326a57b6a56595bb097655bee9fd27d77b0 (patch) | |
tree | c86702f5fdcd8a75ed35c448980d50ae43cd804a /include/asm-i386 | |
parent | 1447c27d38faf8fb03d4599e8082e507453ea3cf (diff) |
[PATCH] i386: show_registers(): try harder to print failing code
show_registers() tries to dump failing code starting 43 bytes before the
offending instruction, but this address can be bad, for example in a device
driver where the failing instruction is less than 43 bytes from the start
of the driver's code. When that happens, try to dump code starting at the
failing instruction instead of printing no code at all.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
0 files changed, 0 insertions, 0 deletions