2003-02-06 Jason Molenda (jason-cl@molenda.com)
authorJason Molenda <jmolenda@apple.com>
Thu, 6 Feb 2003 18:26:20 +0000 (18:26 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 6 Feb 2003 18:26:20 +0000 (18:26 +0000)
* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
why the code is written that way.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-syn-frame.c

index eb1ccb7..4811365 100644 (file)
@@ -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  <mec@shout.net>
 
        * gdb.base/dump.exp: Add missing copyright line.
index a0da3c4..580b534 100644 (file)
@@ -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)
 {