diff options
author | Orjan Friberg <orjanf@axis.com> | 2001-03-16 08:57:44 +0000 |
---|---|---|
committer | Orjan Friberg <orjanf@axis.com> | 2001-03-16 08:57:44 +0000 |
commit | b7844da6290eafa10b84e5caf42220f1c92a6af1 (patch) | |
tree | a8f6350c8e96cd9f53f8aab8de72a06615057145 | |
parent | 4d5a53ff762a9017528f97591faed0c7732043b5 (diff) | |
download | gdb-b7844da6290eafa10b84e5caf42220f1c92a6af1.zip gdb-b7844da6290eafa10b84e5caf42220f1c92a6af1.tar.gz gdb-b7844da6290eafa10b84e5caf42220f1c92a6af1.tar.bz2 |
2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
-rw-r--r-- | gdb/testsuite/gdb.base/signals.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp index d64c5c6..2bf7192 100644 --- a/gdb/testsuite/gdb.base/signals.exp +++ b/gdb/testsuite/gdb.base/signals.exp @@ -370,6 +370,9 @@ gdb_expect { } if [runto_main] then { + # Since count is a static variable outside main, runto_main + # is no guarantee that count will be 0 at this point. + gdb_test "set variable count = 0" "" gdb_test "break handler if 0" "Breakpoint \[0-9\]+ .*" gdb_test "set \$handler_breakpoint_number = \$bpnum" "" |