aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/entry-values.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.trace/entry-values.c')
-rw-r--r--gdb/testsuite/gdb.trace/entry-values.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/entry-values.c b/gdb/testsuite/gdb.trace/entry-values.c
index 3f98615..e287203 100644
--- a/gdb/testsuite/gdb.trace/entry-values.c
+++ b/gdb/testsuite/gdb.trace/entry-values.c
@@ -32,6 +32,10 @@ bar (int i)
int global1 = 1;
int global2 = 2;
+static void
+end (void)
+{}
+
int
main (void)
{
@@ -41,5 +45,6 @@ main (void)
global2++;
ret = bar (0);
+ end ();
return ret;
}