Merge "Fix the newly-introduced warning and turn on -Werror."
diff --git a/linker/debugger.cpp b/linker/debugger.cpp
index 521a599..75929ac 100644
--- a/linker/debugger.cpp
+++ b/linker/debugger.cpp
@@ -121,10 +121,6 @@
const char* signal_name = "???";
bool has_address = false;
switch (signum) {
- case SIGILL:
- signal_name = "SIGILL";
- has_address = true;
- break;
case SIGABRT:
signal_name = "SIGABRT";
break;
@@ -136,6 +132,13 @@
signal_name = "SIGFPE";
has_address = true;
break;
+ case SIGILL:
+ signal_name = "SIGILL";
+ has_address = true;
+ break;
+ case SIGPIPE:
+ signal_name = "SIGPIPE";
+ break;
case SIGSEGV:
signal_name = "SIGSEGV";
has_address = true;
@@ -145,8 +148,8 @@
signal_name = "SIGSTKFLT";
break;
#endif
- case SIGPIPE:
- signal_name = "SIGPIPE";
+ case SIGTRAP:
+ signal_name = "SIGTRAP";
break;
}