diff options
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 28f9b82..7d6aab0 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2244,7 +2244,8 @@ win32_current_sos (void) } static void -fetch_elf_core_registers (char *core_reg_sect, +fetch_elf_core_registers (struct regcache *regcache, + char *core_reg_sect, unsigned core_reg_size, int which, CORE_ADDR reg_addr) @@ -2256,7 +2257,7 @@ fetch_elf_core_registers (char *core_reg_sect, return; } for (r = 0; r < NUM_REGS; r++) - regcache_raw_supply (current_regcache, r, core_reg_sect + mappings[r]); + regcache_raw_supply (regcache, r, core_reg_sect + mappings[r]); } static int |