This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb_expect and default{} vs timeout{}


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]