From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] testsuite: false MI "unknown output after running" regression
Date: Fri, 01 Jan 2010 08:02:00 -0000 [thread overview]
Message-ID: <20100101080205.GA28657@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20100101035639.GN2788@adacore.com>
On Fri, 01 Jan 2010 04:56:39 +0100, Joel Brobecker wrote:
> Phew, it took me a long time to understand how this patch could fix
> the bad regexp on some of the examples you provided (the after_stop
> field is empty), because I failed to notice that you added the missing
> comma.
Sorry I forgot to include the originally intended wdiff of this patch of mine.
-re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}{+$after_stopped,+}thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" {
> This looks right to me. Please go ahead an apply (I will rotate the
> ChangeLog et al in a moment).
Checked-in already with 2010-01-01 (after an IRC approval).
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2010-01/msg00010.html
--- src/gdb/testsuite/ChangeLog 2009/12/31 17:47:42 1.2060
+++ src/gdb/testsuite/ChangeLog 2010/01/01 07:57:56 1.2061
@@ -1,3 +1,8 @@
+2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
+ missing $after_stopped and comma (,) expectation.
+
2009-12-31 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Test teval action.
--- src/gdb/testsuite/lib/mi-support.exp 2010/01/01 07:32:07 1.88
+++ src/gdb/testsuite/lib/mi-support.exp 2010/01/01 07:57:56 1.89
@@ -1038,7 +1038,7 @@
pass "$test"
return $expect_out(2,string)
}
- -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" {
+ -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" {
verbose -log "got $expect_out(buffer)"
fail "$test (stopped at wrong place)"
return -1
prev parent reply other threads:[~2010-01-01 8:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-31 22:19 Jan Kratochvil
2010-01-01 3:57 ` Joel Brobecker
2010-01-01 8:02 ` Jan Kratochvil [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=20100101080205.GA28657@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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