diff options
author | Jason Molenda <jmolenda@apple.com> | 2003-02-06 18:26:20 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2003-02-06 18:26:20 +0000 |
commit | c56716b08b9e21fad2dc1e2b9f78ac9ca25d3229 (patch) | |
tree | 30094c92d177188ffd57da445a365369d166d8c7 /gdb/testsuite/gdb.mi/mi-syn-frame.c | |
parent | b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3 (diff) | |
download | gdb-c56716b08b9e21fad2dc1e2b9f78ac9ca25d3229.zip gdb-c56716b08b9e21fad2dc1e2b9f78ac9ca25d3229.tar.gz gdb-c56716b08b9e21fad2dc1e2b9f78ac9ca25d3229.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-syn-frame.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-syn-frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-syn-frame.c b/gdb/testsuite/gdb.mi/mi-syn-frame.c index a0da3c4..580b534 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) { |