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

Unified Diff: gdb/testsuite/gdb.linespec/base/one/thefile.cc

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.linespec/base/one/header.h ('k') | gdb/testsuite/gdb.linespec/base/two/header.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.linespec/base/one/thefile.cc
diff --git a/gdb/testsuite/gdb.linespec/base/one/thefile.cc b/gdb/testsuite/gdb.linespec/base/one/thefile.cc
index f8712c2af0de681ff143da33d74ec6212bf9b0ff..0417b7a7a42ef4e47f0a1bbf5ff033bf56ff1ae3 100644
--- a/gdb/testsuite/gdb.linespec/base/one/thefile.cc
+++ b/gdb/testsuite/gdb.linespec/base/one/thefile.cc
@@ -9,9 +9,14 @@
+static int twodup ()
+{
+ return 0;
+}
+
int m(int x)
{
- return x + 23; /* thefile breakpoint */
+ return x + 23 + twodup (); /* thefile breakpoint */
}
int NameSpace::overload(int x)
« no previous file with comments | « gdb/testsuite/gdb.linespec/base/one/header.h ('k') | gdb/testsuite/gdb.linespec/base/two/header.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698