This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb_expect and default{} vs timeout{}
- To: GDB Discussion <gdb at sources dot redhat dot com>
- Subject: gdb_expect and default{} vs timeout{}
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 15 Feb 2001 00:31:45 -0500
Hello,
This is kind of a dejagnu question. In pthreads.exp there is the code:
gdb_expect {
....
default {
fail "continue to bkpt at common_routine in thread 2
(default)"
}
timeout {
fail "continue to bkpt at common_routine in thread 2
(timeout)"
}
}
what I don't understand is the purpose that both of these serve. If
there is a default, will the timeout action ever occure?
Andrew