uml: dump registers on ptrace or wait failure
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:29 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:02 +0000 (12:13 -0700)
commitf30c2c983e09470446ee00472f9d4a927fe2e9cb
tree49d40dbf2143f178ce3a95f436c0a9db6f74394f
parent2e3f5251ac716879df6b6271f243f657c6e02e9a
uml: dump registers on ptrace or wait failure

Provide a register dump if handle_trap fails.  Abstract out ptrace_dump_regs
since it now has two callers.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/skas/process.c