From: Jason Molenda Date: Thu, 6 Feb 2003 18:26:20 +0000 (+0000) Subject: 2003-02-06 Jason Molenda (jason-cl@molenda.com) X-Git-Tag: binutils-2_14-branchpoint~921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c56716b08b9e21fad2dc1e2b9f78ac9ca25d3229;p=thirdparty%2Fbinutils-gdb.git 2003-02-06 Jason Molenda (jason-cl@molenda.com) * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining why the code is written that way. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eb1ccb7fff1..4811365618a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-06 Jason Molenda (jason-cl@molenda.com) + + * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining + why the code is written that way. + 2003-02-05 Michael Chastain * gdb.base/dump.exp: Add missing copyright line. diff --git a/gdb/testsuite/gdb.mi/mi-syn-frame.c b/gdb/testsuite/gdb.mi/mi-syn-frame.c index a0da3c42b86..580b5342716 100644 --- a/gdb/testsuite/gdb.mi/mi-syn-frame.c +++ b/gdb/testsuite/gdb.mi/mi-syn-frame.c @@ -43,6 +43,10 @@ handler (int sig) subroutine (sig); } +/* The first statement in subroutine () is a place for a breakpoint. + Without it, the breakpoint is put on the while comparison and will + be hit at each iteration. */ + void subroutine (int in) {