uml: dump core on panic
Dump core after a panic. This will provide better debugging information than is currently available. 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>
This commit is contained in:
committed by
Linus Torvalds
parent
990c55871b
commit
63843c265f
@@ -119,3 +119,9 @@ int setjmp_wrapper(void (*proc)(void *, void *), ...)
|
||||
va_end(args);
|
||||
return n;
|
||||
}
|
||||
|
||||
void os_dump_core(void)
|
||||
{
|
||||
signal(SIGSEGV, SIG_DFL);
|
||||
abort();
|
||||
}
|
||||
|
Reference in New Issue
Block a user