Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [PATCH] make "set debug target" take effect immediately
Date: Mon, 04 Aug 2014 14:09:00 -0000	[thread overview]
Message-ID: <87d2cgqrcr.fsf@fleche.redhat.com> (raw)
In-Reply-To: <87ppgn9dgs.fsf@fleche.redhat.com> (Tom Tromey's message of "Wed,	30 Jul 2014 07:35:15 -0600")

>>>>> "Yao" == Tom Tromey <tromey@redhat.com> writes:

Tom> What do you think of the appended?

Yao> We need to replace "target_resume" in the comments several lines above
Yao> too,

Tom> Thanks.  I've fixed it locally.

Here is what I am checking in.

Tom

2014-08-04  Tom Tromey  <tromey@redhat.com>

	* gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
	"target_resume".

diff --git a/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp b/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp
index a196f68..cb95da0 100644
--- a/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp
+++ b/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.exp
@@ -53,7 +53,7 @@ delete_breakpoints
 # traffic.  Hardware-step targets that can't access memory while the
 # target is running, either remote or native, are likewise affected.
 # So we just skip the test if not using software single-stepping.  We
-# detect that by looking for 'target_resume (..., step)' in "debug
+# detect that by looking for 'to_resume (..., step)' in "debug
 # target" output.
 
 # Probe for software single-step breakpoint use.
@@ -62,7 +62,7 @@ gdb_test_no_output "set debug target 1"
 set hardware_step 0
 set test "probe target hardware step"
 gdb_test_multiple "si" $test {
-    -re "target_resume \\(\[^\r\n\]+, step, .*$gdb_prompt $" {
+    -re "to_resume \\(\[^\r\n\]+, step, .*$gdb_prompt $" {
 	set hardware_step 1
 	pass $test
     }


  reply	other threads:[~2014-08-04 14:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 19:18 Tom Tromey
2014-07-28 19:21 ` Eli Zaretskii
2014-07-28 19:34   ` Eli Zaretskii
2014-07-28 20:51   ` Tom Tromey
2014-08-04 14:09     ` Tom Tromey
2014-07-29 10:07 ` Yao Qi
2014-07-29 10:27   ` Pedro Alves
2014-07-29 20:05   ` Tom Tromey
2014-07-30  7:48     ` Yao Qi
2014-07-30 13:49       ` Tom Tromey
2014-08-04 14:09         ` Tom Tromey [this message]
2014-07-29 11:05 ` Pedro Alves

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=87d2cgqrcr.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=yao@codesourcery.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