Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Marek Polacek'" <mpolacek@redhat.com>,
	       "'Jan Kratochvil'" <jan.kratochvil@redhat.com>
Cc: <gdb-patches@sourceware.org>
Subject: RE: [RFC] gdb.cp/static-print-quit.exp: fix racy tests (PR testsuite/12649)
Date: Fri, 06 May 2011 11:09:00 -0000	[thread overview]
Message-ID: <006401cc0bdd$fb42aab0$f1c80010$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <4DC3B82D.1000505@redhat.com>

> > +set test "print c - to quit"
> > +gdb_test_multiple "" $test {
> >      -re " to quit---$" {
> 
> the `-re' are in fact not needed since we don't use any regexps in the
> string.  However, they certainly do no harm so no need to remove them.
> Thanks again, Jan.

  Just a small question about this,
from the expect beginner that I still am:

isn't the dollar sign a regexpr pattern meaning end of string?
Would it really work without -re here?


Pierre Muller
GDB pascal language maintainer




  reply	other threads:[~2011-05-06 11:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05 18:03 Marek Polacek
2011-05-05 18:12 ` Marek Polacek
2011-05-06  2:15 ` Jan Kratochvil
2011-05-06  8:58   ` Marek Polacek
2011-05-06 11:09     ` Pierre Muller [this message]
2011-05-06 11:15       ` Marek Polacek
2011-05-06 13:41     ` Jan Kratochvil

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='006401cc0bdd$fb42aab0$f1c80010$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=mpolacek@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