gdb_expect and default{} vs timeout{}
Michael Elizabeth Chastain
chastain@cygnus.com
Wed Feb 14 21:48:00 GMT 2001
> If there is a default, will the timeout action ever occure?
It looks like default and timeout are synonyms.
# dejagnu/lib/remote.exp
# proc remote_expect
if { ${x} == "eof" } {
set save_next 1;
} elseif { ${x} == "default" || ${x} == "timeout" } {
if { $error_sect == "" } {
set save_next 1;
}
}
All I know is what I see in the source. I don't know why.
Michael
More information about the Gdb
mailing list