]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/gdbthread.h
Switch current_thread to lwp's thread in install_software_single_step_breakpoints
[thirdparty/binutils-gdb.git] / gdb / gdbserver / gdbthread.h
index 4dcb1b7a4ff08c8790ae937159075447cddf3ff6..d2326fb0590b3602148ced9a8396cb8952d11ba1 100644 (file)
@@ -87,4 +87,7 @@ struct thread_info *find_any_thread_of_pid (int pid);
 /* Get current thread ID (Linux task ID).  */
 #define current_ptid (current_thread->entry.id)
 
+/* Create a cleanup to restore current_thread.  */
+struct cleanup *make_cleanup_restore_current_thread (void);
+
 #endif /* GDB_THREAD_H */