Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@amd.com>
To: <gdb-patches@sourceware.org>
Cc: <pedro@palves.net>, <lancesix@amd.com>,
	Claudiu Zissulescu <claudiu.zissulescu-ianculescu@amd.com>
Subject: [PATCH] gdb: Remove redundant clear_proceed_status() call
Date: Tue, 16 Jun 2026 17:55:22 +0300	[thread overview]
Message-ID: <20260616145522.4488-1-claudiu.zissulescu-ianculescu@amd.com> (raw)

Remove redundant clear_proceed_status() call. The
init_wait_for_inferior(), which runs on the very next line, already
calls clear_proceed_status (0, false).

Signed-off-by: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@amd.com>
---
 gdb/windows-nat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index d9e924f16c6..f1660a02175 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -1944,7 +1944,6 @@ windows_nat_target::do_initial_windows_stuff (DWORD pid, bool attaching)
   if (!inf->target_is_pushed (this))
     inf->push_target (this);
   windows_clear_solib ();
-  clear_proceed_status (0);
   init_wait_for_inferior ();
 
   inferior_appeared (inf, pid);
-- 
2.54.0


             reply	other threads:[~2026-06-16 14:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 14:55 Claudiu Zissulescu [this message]
2026-06-16 15:49 ` Simon Marchi
2026-06-16 18:01 ` Pedro Alves
2026-06-17 12:44   ` Zissulescu-Ianculescu, Claudiu

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=20260616145522.4488-1-claudiu.zissulescu-ianculescu@amd.com \
    --to=claudiu.zissulescu-ianculescu@amd.com \
    --cc=gdb-patches@sourceware.org \
    --cc=lancesix@amd.com \
    --cc=pedro@palves.net \
    /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