From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: GDB Discussion Subject: gdb_expect and default{} vs timeout{} Date: Wed, 14 Feb 2001 21:36:00 -0000 Message-id: <3A8B69C1.D059D535@cygnus.com> X-SW-Source: 2001-02/msg00167.html 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