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.
This commit is contained in:
Jason Molenda 2003-02-06 06:27:01 +00:00
parent 4a8f6654af
commit 5d0331e5f2
2 changed files with 8 additions and 2 deletions

View File

@ -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 <mec@shout.net>
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept

View File

@ -46,8 +46,9 @@ handler (int sig)
void
subroutine (int in)
{
while (in < 100)
in++;
int count = in;
while (count < 100)
count++;
}
void