From: Pedro Alves <palves@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 3/3] Fix non-stop regressions caused by "breakpoints always-inserted off" changes
Date: Fri, 10 Oct 2014 12:52:00 -0000 [thread overview]
Message-ID: <5437D66F.7060407@redhat.com> (raw)
In-Reply-To: <87k34au8yc.fsf@codesourcery.com>
On 10/08/2014 11:55 AM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
> [ThunderBird puts this series into a wrong thread, so I don't see it
> until today]
>
> The patch looks reasonable to me.
Thanks.
>
>> - /* Don't print a message if in the middle of doing a "step n"
>> - operation for n > 1 */
>> + /* Notify observers if we finished a "step"-like command, etc. */
>> if (target_has_execution
>> && last.kind != TARGET_WAITKIND_SIGNALLED
>> && last.kind != TARGET_WAITKIND_EXITED
>> - && inferior_thread ()->step_multi
>> && inferior_thread ()->control.stop_step)
>> - goto done;
>> + {
>> + /* But not if if in the middle of doing a "step n" operation for
> ^^^^^
> Duplicated "if"?
Yep. Fixed now.
---------
From 31cc0b807b2fde7d0110175418a6eea01a982489 Mon Sep 17 00:00:00 2001
From: Pedro Alves <palves@redhat.com>
Date: Fri, 10 Oct 2014 13:50:05 +0100
Subject: [PATCH] infrun.c:normal_stop: Fix typo in comment
gdb/
2014-10-10 Pedro Alves <palves@redhat.com>
* infrun.c (normal_stop): Fix typo in comment.
---
gdb/ChangeLog | 4 ++++
gdb/infrun.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aeba430..8d5b1ee 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-10 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (normal_stop): Fix typo in comment.
+
2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
PR tdep/9390
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 4681175..5536350 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -6381,7 +6381,7 @@ normal_stop (void)
&& last.kind != TARGET_WAITKIND_EXITED
&& inferior_thread ()->control.stop_step)
{
- /* But not if if in the middle of doing a "step n" operation for
+ /* But not if in the middle of doing a "step n" operation for
n > 1 */
if (inferior_thread ()->step_multi)
goto done;
--
1.9.3
next prev parent reply other threads:[~2014-10-10 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 14:58 [PATCH 0/3] Fix non-stop + "breakpoints always-inserted off" regressions Pedro Alves
2014-09-25 14:58 ` [PATCH 2/3] PR17431: following execs with "breakpoint always-inserted on" Pedro Alves
2014-09-25 14:58 ` [PATCH 3/3] Fix non-stop regressions caused by "breakpoints always-inserted off" changes Pedro Alves
2014-10-08 10:59 ` Yao Qi
2014-10-10 12:52 ` Pedro Alves [this message]
2014-10-08 11:34 ` Yao Qi
2014-10-10 12:52 ` Pedro Alves
2014-09-25 14:58 ` [PATCH 1/3] Reduce Hg packet (select remote general thread) bouncing Pedro Alves
2014-10-02 9:12 ` [PATCH 0/3] Fix non-stop + "breakpoints always-inserted off" regressions 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=5437D66F.7060407@redhat.com \
--to=palves@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