From: Fernando Nasser <fnasser@redhat.com>
To: "John R. Moore" <jmoore@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] New gnats #14 bug fix
Date: Mon, 19 Feb 2001 11:36:00 -0000 [thread overview]
Message-ID: <3A917506.A070D0CE@redhat.com> (raw)
In-Reply-To: <Pine.SOL.3.91.1010219103507.20842A-100000@cse.cygnus.com>
Nice work John.
But before checking this in, please remove the "bt" command from the
list of commands sent to gdb and add a comment after the line
# Test that we can run the inferior from breakpoint commands.
stating that the expected behavior is that only the first "step" shall
be executed.
Thanks for the fix.
Fernando
"John R. Moore" wrote:
>
> This time, we pulled the hpux fix for this into all platforms.
> This was tested with cvs version of gcc (2.97) on linux-2.4.
>
> Changelog:
>
> 2001-02-19 John Moore <jmoore@redhat.com>
>
> * gdb.base/commands.exp (infrun_breakpoint_command_test):
> Converted HPUX fix for non-expected items following multiple
> step commands into general solution for all platforms.
>
> Index: commands.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/commands.exp,v
> retrieving revision 1.6
> diff -p -u -w -r1.6 gdb/testsuite/gdb.base/commands.exp
> --- commands.exp 2000/10/24 18:36:32 1.6
> +++ commands.exp 2001/02/19 16:50:30
> @@ -202,26 +202,9 @@ proc infrun_breakpoint_command_test {} {
> gdb_test "step\nstep\nstep\nstep\nbt\nend" "" \
> "commands in infrun_breakpoint_command_test #2"
>
> - if { [istarget "hppa*-hp-hpux*"] } {
> gdb_test "continue" \
> "Continuing.*.*.*Breakpoint \[0-9\]*, factorial \\(value=5\\).*at.*\[0-9\]*\[ \]*if \\(value > 1\\) \{.*\[0-9\]*\[ \]*value \\*= factorial \\(value - 1\\);.*" \
> "continue in infrun_breakpoint_command_test"
> - } else {
> - gdb_test "continue" \
> - "Breakpoint \[0-9\]*, factorial \\(value=5\\).*at.*
> -\[0-9\]*\[ \]*if \\(value > 1\\) \{.*
> -\[0-9\]*\[ \]*value \\*= factorial \\(value - 1\\);.*
> -factorial \\(value=4\\) at.*\[0-9\]*\[ \]*if \\(value > 1\\) \{.*
> -\[0-9\]*\[ \]*value \\*= factorial \\(value - 1\\);.*
> -factorial \\(value=3\\) at .*
> -\[0-9\]*\[ \]*if \\(value > 1\\) \{.*
> -#0 factorial \\(value=3\\).*
> -#1 \[0-9a-fx\]* in factorial \\(value=4\\).*
> -#2 \[0-9a-fx\]* in factorial \\(value=5\\).*
> -#3 \[0-9a-fx\]* in factorial \\(value=6\\).*
> -#4 \[0-9a-fx\]* in main \\(.*\\).*" \
> - "continue in infrun_breakpoint_command_test";
> - }
>
> gdb_stop_suppressing_tests;
> }
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
next prev parent reply other threads:[~2001-02-19 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-19 10:36 John R. Moore
2001-02-19 11:36 ` Fernando Nasser [this message]
2001-02-19 11:45 ` Fernando Nasser
2001-02-19 10:52 Michael Elizabeth Chastain
2001-02-19 13:00 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=3A917506.A070D0CE@redhat.com \
--to=fnasser@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jmoore@cygnus.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