Pass inferior down to target_detach and to_detach
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index 9dcfc0e98bd147c1c73e741720b0ca4f87f1d07a..873f929144b9b4477937915f28b3b6fe46b9bb99 100644 (file)
@@ -1090,13 +1090,13 @@ record_thread (struct thread_db_info *info,
 }
 
 static void
-thread_db_detach (struct target_ops *ops, int from_tty)
+thread_db_detach (struct target_ops *ops, inferior *inf, int from_tty)
 {
   struct target_ops *target_beneath = find_target_beneath (ops);
 
   delete_thread_db_info (ptid_get_pid (inferior_ptid));
 
-  target_beneath->to_detach (target_beneath, from_tty);
+  target_beneath->to_detach (target_beneath, inf, from_tty);
 
   /* NOTE: From this point on, inferior_ptid is null_ptid.  */
 
This page took 0.024215 seconds and 4 git commands to generate.