Multi-target support
[deliverable/binutils-gdb.git] / gdb / solib-svr4.c
index 2d275f2b9c077d9b4b5242e359e6909e3347af49..3122f06939f5f88f01fe8fc515a0e8fcbbea5964 100644 (file)
@@ -2394,7 +2394,8 @@ enable_break (struct svr4_info *info, int from_tty)
       if (!load_addr_found)
        {
          struct regcache *regcache
-           = get_thread_arch_regcache (inferior_ptid, target_gdbarch ());
+           = get_thread_arch_regcache (current_inferior ()->process_target (),
+                                       inferior_ptid, target_gdbarch ());
 
          load_addr = (regcache_read_pc (regcache)
                       - exec_entry_point (tmp_bfd.get (), tmp_bfd_target));
This page took 0.023932 seconds and 4 git commands to generate.