Multi-target support
[deliverable/binutils-gdb.git] / gdb / linux-tdep.c
index 59d04c490a621741bcc3636217b71c0a307199d3..820657a1038ed05d96ad0506e6aa319e822e9228 100644 (file)
@@ -1651,7 +1651,8 @@ linux_corefile_thread (struct thread_info *info,
 {
   struct regcache *regcache;
 
-  regcache = get_thread_arch_regcache (info->ptid, args->gdbarch);
+  regcache = get_thread_arch_regcache (info->inf->process_target (),
+                                      info->ptid, args->gdbarch);
 
   target_fetch_registers (regcache, -1);
   gdb::byte_vector siginfo_data = linux_get_siginfo_data (info, args->gdbarch);
This page took 0.025853 seconds and 4 git commands to generate.