From: Fernando Nasser <fnasser@redhat.com>
To: Michael Snyder <msnyder@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: XFAIL "reread" test for remote targets.
Date: Fri, 23 Feb 2001 05:35:00 -0000 [thread overview]
Message-ID: <3A966684.114C46B0@redhat.com> (raw)
In-Reply-To: <3A95C999.7D52C13C@cygnus.com>
Thank you Michael.
Please check it in.
Michael Snyder wrote:
>
> Michael Snyder wrote:
> >
> > This test only works with the "run" command, therefore will not work on any
> > remote target. This change sets up an xfail for any gdb stub target.
>
> Reworked to use "unsupported" rather than "xfail", on advice from Fernando.
>
> ------------------------------------------------------------------------
> 2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
>
> * gdb.base/reread.exp: Unsupported for non-native targets;
> doesn't work for remote debugging.
>
> Index: gdb.base/reread.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/reread.exp,v
> retrieving revision 1.2
> diff -c -3 -p -r1.2 reread.exp
> *** reread.exp 2000/11/17 16:37:48 1.2
> --- reread.exp 2001/02/23 02:21:08
> *************** gdb_test "shell touch ${binfile}" "" ""
> *** 98,114 ****
> # and reset the breakpoints correctly.
> # Should see "Breakpoint 1, foo () at reread2.c:9"
>
> ! gdb_run_cmd
> ! gdb_expect {
> ! # -re ".*re-reading symbols.*Breakpoint.* foo .* at .*$srcfile2:9.*$gdb_prompt $" {}
> ! -re ".*Breakpoint.* foo .* at .*:9.*$gdb_prompt $" {
> ! pass "run to foo() second time ";
> }
> - -re ".*$gdb_prompt $" {
> - fail "run to foo() second time";
> - gdb_suppress_tests;
> - }
> - timeout { fail "run to foo() second time (timeout)" ; gdb_suppress_tests }
> }
>
> # End of tests.
> --- 98,121 ----
> # and reset the breakpoints correctly.
> # Should see "Breakpoint 1, foo () at reread2.c:9"
>
> ! if ![isnative] {
> ! unsupported "run to foo() second time ";
> ! } else {
> ! gdb_run_cmd
> ! gdb_expect {
> ! # -re ".*re-reading symbols.*Breakpoint.* foo .* at .*$srcfile2:9.*$gdb_prompt $" {}
> ! -re ".*Breakpoint.* foo .* at .*:9.*$gdb_prompt $" {
> ! pass "run to foo() second time ";
> ! }
> ! -re ".*$gdb_prompt $" {
> ! fail "run to foo() second time";
> ! gdb_suppress_tests;
> ! }
> ! timeout {
> ! fail "run to foo() second time (timeout)" ;
> ! gdb_suppress_tests
> ! }
> }
> }
>
> # End of tests.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
prev parent reply other threads:[~2001-02-23 5:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-22 17:16 Michael Snyder
[not found] ` <3A95C999.7D52C13C@cygnus.com>
2001-02-23 5:35 ` Fernando Nasser [this message]
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=3A966684.114C46B0@redhat.com \
--to=fnasser@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@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