Index: gdb/testsuite/gdb.base/printcmds.c |
diff --git a/gdb/testsuite/gdb.base/printcmds.c b/gdb/testsuite/gdb.base/printcmds.c |
index b3841ae17378196f0dc9bb8bdbd665ceee8231bd..743734b4a5c25cc79017743b92c738b0dea7059f 100644 |
--- a/gdb/testsuite/gdb.base/printcmds.c |
+++ b/gdb/testsuite/gdb.base/printcmds.c |
@@ -96,6 +96,10 @@ enum some_volatile_enum { enumvolval1, enumvolval2 }; |
name. See PR11827. */ |
volatile enum some_volatile_enum some_volatile_enum = enumvolval1; |
+enum flag_enum { ONE = 1, TWO = 2 }; |
+ |
+enum flag_enum three = ONE | TWO; |
+ |
/* A structure with an embedded array at an offset > 0. The array has |
all elements with the same repeating value, which must not be the |
same as the value of the preceding fields in the structure for the |
@@ -122,10 +126,6 @@ struct some_struct |
int main () |
{ |
-#ifdef usestubs |
- set_debug_traps(); |
- breakpoint(); |
-#endif |
malloc(1); |
/* Prevent AIX linker from removing variables. */ |