Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: gdb/testsuite/gdb.base/printcmds.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/print-file-var-main.c ('k') | gdb/testsuite/gdb.base/printcmds.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. */
« no previous file with comments | « gdb/testsuite/gdb.base/print-file-var-main.c ('k') | gdb/testsuite/gdb.base/printcmds.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698