Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Jim Blandy <jimb@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: Match gdb prompt in exprs.exp
Date: Tue, 05 Jun 2001 18:45:00 -0000	[thread overview]
Message-ID: <3B1D8A6B.33F81F82@redhat.com> (raw)
In-Reply-To: <20010606014001.289C45E9CB@zwingli.cygnus.com>

Yes, missing anchors suck!

Please check it in.  And thanks!

Fernando


Jim Blandy wrote:
> 
> 2001-06-05  Jim Blandy  <jimb@redhat.com>
> 
>         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
>         Don't forget to match the GDB prompt.
> 
> Index: gdb/testsuite/gdb.base/exprs.exp
> ===================================================================
> RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/exprs.exp,v
> retrieving revision 1.19
> diff -c -r1.19 exprs.exp
> *** gdb/testsuite/gdb.base/exprs.exp    2000/07/24 10:08:58     1.19
> --- gdb/testsuite/gdb.base/exprs.exp    2001/06/06 01:37:26
> ***************
> *** 238,248 ****
>   #
>   send_gdb "print sizeof (long long) > sizeof (long)\n"
>   gdb_expect {
> !     -re "\\$\[0-9\]* = $true" {
>         set ok 1
>         pass "sizeof (long long) > sizeof (long) (true)"
>       }
> !     -re "\\$\[0-9\]* = $false" {
>         set ok 0
>         pass "sizeof (long long) > sizeof (long) (false)"
>       }
> --- 238,248 ----
>   #
>   send_gdb "print sizeof (long long) > sizeof (long)\n"
>   gdb_expect {
> !     -re "\\$\[0-9\]* = $true.*$gdb_prompt" {
>         set ok 1
>         pass "sizeof (long long) > sizeof (long) (true)"
>       }
> !     -re "\\$\[0-9\]* = $false.*$gdb_prompt" {
>         set ok 0
>         pass "sizeof (long long) > sizeof (long) (false)"
>       }

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


      reply	other threads:[~2001-06-05 18:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-05 18:39 Jim Blandy
2001-06-05 18:45 ` 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=3B1D8A6B.33F81F82@redhat.com \
    --to=fnasser@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@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