diff options
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 2d6ece08727..0f242579359 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -596,8 +596,7 @@ do_windows_store_inferior_registers (const struct regcache *regcache, windows_thread_info *th, int r) { if (r >= 0) - regcache_raw_collect (regcache, r, - ((char *) &th->context) + mappings[r]); + regcache->raw_collect (r, ((char *) &th->context) + mappings[r]); else { for (r = 0; r < gdbarch_num_regs (regcache->arch ()); r++) |