When running the testsuite with clang, gdb.base/sigaltstack.c
fails to compile with the following error:
warning: enumeration values 'LEAF' and 'NR_LEVELS' not handled
in switch [-Wswitch]
This prevents the gdb.base/sigaltstack.exp from executing.
This commit fixes.
gdb/testsuite/ChangeLog:
* gdb.base/sigaltstack.c (catcher): Add default case to switch
statement.
+2020-05-28 Gary Benson <gbenson@redhat.com>
+
+ * gdb.base/sigaltstack.c (catcher): Add default case to switch
+ statement.
+
2020-05-28 Gary Benson <gbenson@redhat.com>
* gdb.cp/classes.exp (prepare_for_testing): Add
case INNER:
level = LEAF;
return;
+ default:
+ abort ();
}
}