mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* inferiors.c (started_inferior_callback): New function.
(attached_inferior_callback): New function. (have_started_inferiors_p, have_attached_inferiors_p): New functions. * server.c (print_started_pid, print_attached_pid): New functions. (detach_or_kill_for_exit): New function. (main): Call it instead of for_each_inferior (kill_inferior_callback). * server.h (have_started_inferiors_p): Declare. (have_attached_inferiors_p): Declare.
This commit is contained in:
@ -236,6 +236,8 @@ void add_thread (ptid_t ptid, void *target_data);
|
||||
struct process_info *add_process (int pid, int attached);
|
||||
void remove_process (struct process_info *process);
|
||||
struct process_info *find_process_pid (int pid);
|
||||
int have_started_inferiors_p (void);
|
||||
int have_attached_inferiors_p (void);
|
||||
|
||||
struct thread_info *find_thread_pid (ptid_t ptid);
|
||||
|
||||
|
Reference in New Issue
Block a user