Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hannes Domani <ssbssa@yahoo.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 2/2] gdb: Fix build for aarch64-windows
Date: Tue, 23 Jun 2026 18:29:18 +0200	[thread overview]
Message-ID: <20260623162918.3155215-2-ssbssa@yahoo.de> (raw)
In-Reply-To: <20260623162918.3155215-1-ssbssa@yahoo.de>

When reload_context was removed from windows_thread_info, it
was missed at one point in aarch64-windows-nat.c:

../../gdb/aarch64-windows-nat.c:260:20: error: no member named 'reload_context' in 'windows_nat::windows_thread_info'
  260 |   gdb_assert (!th->reload_context);
      |                ~~  ^

This removes it.
---
 gdb/aarch64-windows-nat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/aarch64-windows-nat.c b/gdb/aarch64-windows-nat.c
index b0d5f66884b..ff2c9762467 100644
--- a/gdb/aarch64-windows-nat.c
+++ b/gdb/aarch64-windows-nat.c
@@ -262,7 +262,6 @@ aarch64_windows_nat_target::fetch_one_register (struct regcache *regcache,
 						windows_thread_info *th, int r)
 {
   gdb_assert (r >= 0);
-  gdb_assert (!th->reload_context);
 
   char *context_ptr = (char *) &th->context;
   char *context_offset = context_ptr + aarch64_windows_process.mappings[r];
-- 
2.54.0


  reply	other threads:[~2026-06-23 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260623162918.3155215-1-ssbssa.ref@yahoo.de>
2026-06-23 16:29 ` [PATCH 1/2] gdb+gdbserver: " Hannes Domani
2026-06-23 16:29   ` Hannes Domani [this message]
2026-06-26 14:37     ` [PATCH 2/2] gdb: " Tom Tromey
2026-06-26 15:03       ` Hannes Domani
2026-06-26 14:37   ` [PATCH 1/2] gdb+gdbserver: " Tom Tromey

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=20260623162918.3155215-2-ssbssa@yahoo.de \
    --to=ssbssa@yahoo.de \
    --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