projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5a53f
)
2001-03-16 Orjan Friberg <orjanf@axis.com>
author
Orjan Friberg
<orjanf@axis.com>
Fri, 16 Mar 2001 08:57:44 +0000
(08:57 +0000)
committer
Orjan Friberg
<orjanf@axis.com>
Fri, 16 Mar 2001 08:57:44 +0000
(08:57 +0000)
* gdb.base/signals.exp: Set count to 0 explicitly.
gdb/testsuite/gdb.base/signals.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/signals.exp
b/gdb/testsuite/gdb.base/signals.exp
index d64c5c6c1df48fa363d372877c4017d1e1d793fd..2bf719234bd7c896019a4ffcac84b158b12d95f8 100644
(file)
--- 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" ""