Fix "Remote 'g' packet reply is too long" problems with multiple inferiors
[deliverable/binutils-gdb.git] / gdb / spu-multiarch.c
index a935a72c3058d5ccd9e89adb4cb0288e93be6064..e521c7e6ac2d9d710b21dc2c55a7ae9670c49eaa 100644 (file)
@@ -121,7 +121,8 @@ spu_thread_architecture (struct target_ops *ops, ptid_t ptid)
   if (parse_spufs_run (ptid, &spufs_fd, &spufs_addr))
     return spu_gdbarch (spufs_fd);
 
-  return target_gdbarch ();
+  target_ops *beneath = find_target_beneath (ops);
+  return beneath->to_thread_architecture (beneath, ptid);
 }
 
 /* Override the to_region_ok_for_hw_watchpoint routine.  */
This page took 0.025944 seconds and 4 git commands to generate.