Index: tools/CrashHandler.cpp |
diff --git a/tools/CrashHandler.cpp b/tools/CrashHandler.cpp |
index ffd9f3bedb08eee087abfe0c03de22163654d46a..174176e4ac3d0b24eb82e3d111010926980a0da0 100644 |
--- a/tools/CrashHandler.cpp |
+++ b/tools/CrashHandler.cpp |
@@ -48,7 +48,7 @@ static void handler(int sig) { |
void* stack[kMax]; |
const int count = backtrace(stack, kMax); |
- SkDebugf("\nSignal %d:\n", sig); |
+ SkDebugf("\nSignal %d [%s]:\n", sig, strsignal(sig)); |
backtrace_symbols_fd(stack, count, 2/*stderr*/); |
// Exit NOW. Don't notify other threads, don't call anything registered with atexit(). |