summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/advance.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/advance.c')
-rw-r--r--gdb/testsuite/gdb.base/advance.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/advance.c b/gdb/testsuite/gdb.base/advance.c
index 2ae3cc50c4a..8066deec421 100644
--- a/gdb/testsuite/gdb.base/advance.c
+++ b/gdb/testsuite/gdb.base/advance.c
@@ -29,6 +29,10 @@ int func3 ()
x = 4;
}
+void marker1 ()
+{
+}
+
int
main ()
{
@@ -38,6 +42,7 @@ main ()
b = 3; /* advance this location */
func (c); /* stop here after leaving current frame */
+ marker1 (); /* stop here after leaving current frame */
func3 (); /* break here */
result = bar (b + foo (c));
return 0; /* advance malformed */