From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb-patches@sources.redhat.com
Subject: [MI] report pass for resuming commands
Date: Sat, 28 Jun 2008 11:18:00 -0000 [thread overview]
Message-ID: <200806281416.04427.vladimir@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 135 bytes --]
I've noticed that the test helper routine for sending resuming commands
fails to report passes. Fixes by attached commit.
- Volodya
[-- Attachment #2: commit.diff --]
[-- Type: text/x-diff, Size: 1252 bytes --]
Index: gdb/testsuite/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v
retrieving revision 1.1667
diff -u -p -r1.1667 ChangeLog
--- gdb/testsuite/ChangeLog 27 Jun 2008 16:42:18 -0000 1.1667
+++ gdb/testsuite/ChangeLog 28 Jun 2008 10:14:00 -0000
@@ -1,3 +1,7 @@
+2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
+
+ * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
+
2008-06-27 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
Index: gdb/testsuite/lib/mi-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/mi-support.exp,v
retrieving revision 1.63
diff -u -p -r1.63 mi-support.exp
--- gdb/testsuite/lib/mi-support.exp 25 Jun 2008 14:32:34 -0000 1.63
+++ gdb/testsuite/lib/mi-support.exp 28 Jun 2008 10:14:00 -0000
@@ -1398,6 +1398,7 @@ proc mi_send_resuming_command_raw {comma
send_gdb "$command\n"
gdb_expect {
-re "\\^running\r\n\\*running,thread-id=\"\[^\"\]+\"\r\n${mi_gdb_prompt}" {
+ pass "$test"
}
-re ".*${mi_gdb_prompt}" {
fail "$test (failed to resume)"
next reply other threads:[~2008-06-28 10:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 11:18 Vladimir Prus [this message]
2008-06-28 11:58 ` Vladimir Prus
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=200806281416.04427.vladimir@codesourcery.com \
--to=vladimir@codesourcery.com \
--cc=gdb-patches@sources.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