From: Pedro Alves <pedro@codesourcery.com>
To: pmuldoon@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] gdb_unload - account for another termination message
Date: Tue, 15 Mar 2011 14:25:00 -0000 [thread overview]
Message-ID: <201103151342.02280.pedro@codesourcery.com> (raw)
In-Reply-To: <m339moeedp.fsf@redhat.com>
On Tuesday 15 March 2011 12:50:58, Phil Muldoon wrote:
> + -re "A program is being debugged already.*Are you sure you want to change the file?.*y or n. $" {
> + send_gdb "y\n"
> exp_continue
> }
'?' in a regex has special meaning. You want to escape it, replace
it with '.' (xxx file. .y or n.), or just remove it, as the .* will
eat it.
Otherwise okay, thanks.
--
Pedro Alves
next prev parent reply other threads:[~2011-03-15 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 12:51 Phil Muldoon
2011-03-15 13:42 ` Pedro Alves
2011-03-15 14:06 ` Phil Muldoon
2011-03-15 14:25 ` Pedro Alves [this message]
2011-03-15 17:38 ` Phil Muldoon
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=201103151342.02280.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=pmuldoon@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