aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse/step-reverse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.reverse/step-reverse.c')
-rw-r--r--gdb/testsuite/gdb.reverse/step-reverse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.reverse/step-reverse.c b/gdb/testsuite/gdb.reverse/step-reverse.c
index 40466a6..4b8fa82 100644
--- a/gdb/testsuite/gdb.reverse/step-reverse.c
+++ b/gdb/testsuite/gdb.reverse/step-reverse.c
@@ -23,7 +23,7 @@
int myglob = 0;
int callee() { /* ENTER CALLEE */
- myglob++; return 0; /* ARRIVED IN CALLEE */
+ return myglob++; /* ARRIVED IN CALLEE */
} /* RETURN FROM CALLEE */
/* A structure which, we hope, will need to be passed using memcpy. */