]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/bsd-uthread.c
gdb: remove push_target free functions
[thirdparty/binutils-gdb.git] / gdb / bsd-uthread.c
index 2ee47bfb5c47335d7246182ba06e79648ceecfa1..3cb8f64c89a7243d916d7acf4a854195af1a6619 100644 (file)
@@ -231,7 +231,7 @@ bsd_uthread_activate (struct objfile *objfile)
   bsd_uthread_thread_ctx_offset =
     bsd_uthread_lookup_offset ("_thread_ctx_offset", objfile);
 
-  push_target (&bsd_uthread_ops);
+  current_inferior ()->push_target (&bsd_uthread_ops);
   bsd_uthread_active = 1;
   return 1;
 }