From: Hannes Domani Date: Tue, 23 Jun 2026 16:28:09 +0000 (+0200) Subject: gdb: Fix build for aarch64-windows X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=842e7d4c4cc55af7ec65992523fe0e9076f0f877;p=thirdparty%2Fbinutils-gdb.git gdb: Fix build for aarch64-windows 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. Approved-By: Tom Tromey --- 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];