Index: gdb/testsuite/gdb.base/longjmp.c |
diff --git a/gdb/testsuite/gdb.base/longjmp.c b/gdb/testsuite/gdb.base/longjmp.c |
index e9e0e56d9f36b3eb7dddb2f580d9ae8f134bd181..b203a8d6c8d44fa6d87010ceeac7f3ede52d3f27 100644 |
--- a/gdb/testsuite/gdb.base/longjmp.c |
+++ b/gdb/testsuite/gdb.base/longjmp.c |
@@ -33,7 +33,7 @@ call_longjmp (jmp_buf *buf) |
void |
hidden_longjmp (void) |
{ |
- if (setjmp (env) == 0) /* longjmp caught */ |
+ if (setjmp (env) == 0) |
{ |
call_longjmp (&env); |
} |
@@ -75,6 +75,8 @@ main () |
/* Pattern 3 - setjmp/longjmp inside stepped-over function. */ |
hidden_longjmp (); /* patt3 */ |
+ i = 77; /* longjmp caught */ |
+ |
i = 3; /* patt_end3. */ |
return 0; |