From: Andrew Cagney <ac131313@cygnus.com>
To: GDB Discussion <gdb@sources.redhat.com>
Subject: gdb_expect and default{} vs timeout{}
Date: Wed, 14 Feb 2001 21:36:00 -0000 [thread overview]
Message-ID: <3A8B69C1.D059D535@cygnus.com> (raw)
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
next reply other threads:[~2001-02-14 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-14 21:36 Andrew Cagney [this message]
2001-02-15 22:53 ` Fernando Nasser
2001-02-16 8:45 ` Andrew Cagney
2001-02-14 21:48 Michael Elizabeth Chastain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A8B69C1.D059D535@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox