From: Michael Snyder <msnyder@vmware.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [resubmit] gdb.base, r*.exp thru w*.exp
Date: Thu, 20 May 2010 21:14:00 -0000 [thread overview]
Message-ID: <4BF5A608.5010806@vmware.com> (raw)
In-Reply-To: <20100520210718.GF3019@adacore.com>
Joel Brobecker wrote:
>
>> +gdb_test "break 999" "No line 999 in file .*" \
>> + pass "break on non-existent source line"
> ^^^^ ???
Oops, thanks.
>> +gdb_test_multiple "break $bp_location1" \
>> + "set to-be-silent break bp_location1" {
>> + -re "Breakpoint (\[0-9\]*) at .*, line $bp_location1.*$gdb_prompt $" {
>> + pass "set to-be-silent break bp_location1"
>> + }
>
> How about using test_gdb in this case?
No, the reason being that it doesn't set $expect_out, which is used
in the following lines.
next prev parent reply other threads:[~2010-05-20 21:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-20 21:01 Michael Snyder
2010-05-20 21:07 ` Joel Brobecker
2010-05-20 21:14 ` Michael Snyder [this message]
2010-05-20 21:28 ` Jan Kratochvil
2010-05-20 21:46 ` Michael Snyder
2010-05-20 21:47 ` Jan Kratochvil
2010-05-20 21:57 ` Michael Snyder
2010-05-20 22:02 ` Jan Kratochvil
2010-05-20 22:07 ` Michael Snyder
2010-05-20 22:07 ` Joel Brobecker
2010-05-20 22:21 ` Michael Snyder
2010-06-15 15:56 ` Frederic Riss
2010-06-15 16:19 ` Daniel Jacobowitz
2010-06-16 8:12 ` Frederic Riss
2010-06-18 0:23 ` Michael Snyder
2010-06-18 7:30 ` Frederic Riss
2010-06-15 17:44 ` Michael Snyder
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=4BF5A608.5010806@vmware.com \
--to=msnyder@vmware.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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