diff options
Diffstat (limited to 'gdb/testsuite/gdb.btrace/exception.cc')
-rw-r--r-- | gdb/testsuite/gdb.btrace/exception.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.btrace/exception.cc b/gdb/testsuite/gdb.btrace/exception.cc index 6e4f872..0c660bb 100644 --- a/gdb/testsuite/gdb.btrace/exception.cc +++ b/gdb/testsuite/gdb.btrace/exception.cc @@ -50,7 +50,11 @@ test (void) int main (void) { + int ret; + test (); test (); /* bp.1 */ - return 0; /* bp.2 */ + + ret = 0; + return ret; /* bp.2 */ } |