From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Allow use of breakpoint commands inside `if' or `while'
Date: Sat, 27 Jan 2007 12:24:00 -0000 [thread overview]
Message-ID: <u64asbqty.fsf@gnu.org> (raw)
In-Reply-To: <20070120203352.GD25573@nevyn.them.org> (message from Daniel Jacobowitz on Sat, 20 Jan 2007 15:33:52 -0500)
> Date: Sat, 20 Jan 2007 15:33:52 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sources.redhat.com
> >
> > Here it is. It is admittedly inelegant; in particular, the
> > diagnostics for a GDB that fails the test is not very smart, and one
> > of the two tests isn't counted in the sum of failed tests, although it
> > does fail. Hopefully, someone more fluent with Expect will be able to
> > improve on the test (I think Daniel offered help back when I first
> > reported this).
>
> I did indeed. How does this look?
Looks fine, thanks. With an unpatched GDB it fails:
Running ./gdb.base/commands.exp ...
FAIL: gdb.base/commands.exp: commands - if_commands_test 1
FAIL: gdb.base/commands.exp: silent - if_commands_test 1
FAIL: gdb.base/commands.exp: set $tem = 3 - if_commands_test 1
FAIL: gdb.base/commands.exp: continue - if_commands_test 1
FAIL: gdb.base/commands.exp: first end - if_commands_test 1
FAIL: gdb.base/commands.exp: second end - if_commands_test 1
FAIL: gdb.base/commands.exp: commands - if_commands_test 2
FAIL: gdb.base/commands.exp: silent - if_commands_test 2
FAIL: gdb.base/commands.exp: set $tem = 3 - if_commands_test 2
FAIL: gdb.base/commands.exp: continue - if_commands_test 2
FAIL: gdb.base/commands.exp: first end - if_commands_test 2
FAIL: gdb.base/commands.exp: second end - if_commands_test 2
=== gdb Summary ===
# of expected passes 95
# of unexpected failures 12
make[1]: *** [just-check] Error 1
While after patching it succeeds:
Running ./gdb.base/commands.exp ...
=== gdb Summary ===
# of expected passes 107
next prev parent reply other threads:[~2007-01-27 12:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 14:48 Eli Zaretskii
2006-01-13 15:32 ` Daniel Jacobowitz
2006-01-13 16:02 ` Eli Zaretskii
2006-01-14 15:49 ` Daniel Jacobowitz
2006-01-14 16:23 ` Eli Zaretskii
2006-01-14 16:28 ` Daniel Jacobowitz
2006-01-15 4:29 ` Eli Zaretskii
2006-01-15 10:42 ` Andreas Schwab
2007-01-13 17:11 ` Eli Zaretskii
2007-01-13 17:21 ` Eli Zaretskii
2007-01-20 20:34 ` Daniel Jacobowitz
2007-01-27 12:24 ` Eli Zaretskii [this message]
2007-01-29 16:21 ` Daniel Jacobowitz
2007-01-20 20:04 ` Daniel Jacobowitz
2007-01-27 12:31 ` Eli Zaretskii
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=u64asbqty.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=drow@false.org \
--cc=gdb-patches@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