diff options
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 9dcfc0e98bd..873f929144b 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -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. */ |