diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-syn-frame.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-syn-frame.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-syn-frame.c b/gdb/testsuite/gdb.mi/mi-syn-frame.c index 83d2d46..a0da3c4 100644 --- a/gdb/testsuite/gdb.mi/mi-syn-frame.c +++ b/gdb/testsuite/gdb.mi/mi-syn-frame.c @@ -46,8 +46,9 @@ handler (int sig) void subroutine (int in) { - while (in < 100) - in++; + int count = in; + while (count < 100) + count++; } void |