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

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

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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/break-probes-solib.c ('k') | gdb/testsuite/gdb.base/breakpoint-shadow.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.base/break1.c
diff --git a/gdb/testsuite/gdb.base/break1.c b/gdb/testsuite/gdb.base/break1.c
index af4f2b0a5f88ae94af5952114cbc52a51b8d3eb6..8d54cef08bdf4f273bf29c14c90ba675be60f4cb 100644
--- a/gdb/testsuite/gdb.base/break1.c
+++ b/gdb/testsuite/gdb.base/break1.c
@@ -1,7 +1,6 @@
/* This testcase is part of GDB, the GNU debugger.
- Copyright 1992-1995, 1999, 2002-2003, 2007-2012 Free Software
- Foundation, Inc.
+ Copyright 1992-2013 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -29,6 +28,23 @@ struct some_struct
struct some_struct values[50];
+/* Some definitions for tag completion. */
+enum some_enum { VALUE };
+
+enum some_enum some_enum_global;
+
+union some_union
+{
+ int f1;
+ double f2;
+};
+
+union some_union some_union_global;
+
+/* A variable with a name "similar" to the above struct, to test that
+ tag completion works ok. */
+int some_variable;
+
/* The following functions do nothing useful. They are included
simply as places to try setting breakpoints at. They are
explicitly "one-line functions" to verify that this case works
« no previous file with comments | « gdb/testsuite/gdb.base/break-probes-solib.c ('k') | gdb/testsuite/gdb.base/breakpoint-shadow.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698