From: Jason Molenda Date: Thu, 6 Feb 2003 06:27:01 +0000 (+0000) Subject: 2003-02-05 Jason Molenda (jason-cl@molenda.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d0331e5f28a2d99afccf29e9b2805cd3b13e122;p=binutils-gdb.git 2003-02-05 Jason Molenda (jason-cl@molenda.com) * gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement at the beginning so the breakpoint doesn't get set on the loop. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ef2d7b331fc..e158654823f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-05 Jason Molenda (jason-cl@molenda.com) + + * gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement + at the beginning so the breakpoint doesn't get set on the loop. + 2003-02-05 Michael Chastain * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept diff --git a/gdb/testsuite/gdb.mi/mi-syn-frame.c b/gdb/testsuite/gdb.mi/mi-syn-frame.c index 83d2d46876e..a0da3c42b86 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