]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: Fix build for aarch64-windows
authorHannes Domani <ssbssa@yahoo.de>
Tue, 23 Jun 2026 16:28:09 +0000 (18:28 +0200)
committerHannes Domani <ssbssa@yahoo.de>
Fri, 26 Jun 2026 15:02:22 +0000 (17:02 +0200)
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 <tom@tromey.com>
gdb/aarch64-windows-nat.c

index b0d5f66884bc70433dd1be053aa20af3ab173550..ff2c97624675c97a88b58f54aafc7db1605f3f4e 100644 (file)
@@ -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];