diff options
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 0a7e51b..376a760 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -392,7 +392,8 @@ do_child_store_inferior_registers (int r) if (!current_thread) /* Windows sometimes uses a non-existent thread id in its events */; else if (r >= 0) - regcache_collect (r, ((char *) ¤t_thread->context) + mappings[r]); + regcache_raw_collect (current_regcache, r, + ((char *) ¤t_thread->context) + mappings[r]); else { for (r = 0; r < NUM_REGS; r++) |