[binutils-gdb] gdb: Fix build for aarch64-windows
Hannes Domani via Gdb-cvs <[email protected]> Fri, 26 Jun 2026 15:03:16 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=842e7d4c4cc55af7ec65992523fe0e9076f0f877 commit 842e7d4c4cc55af7ec65992523fe0e9076f0f877 Author: Hannes Domani <[email protected]> Date: Tue Jun 23 18:28:09 2026 +0200 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 <[email protected]> Diff: --- 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];