diff options
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index c09ac8da73d..1c47a3aedb3 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -48,6 +48,10 @@ struct target_ops void (*kill) (void); + /* Detach from all inferiors. */ + + void (*detach) (void); + /* Return 1 iff the thread with process ID PID is alive. */ int (*thread_alive) (int pid); @@ -122,6 +126,9 @@ void set_target_ops (struct target_ops *); #define kill_inferior() \ (*the_target->kill) () +#define detach_inferior() \ + (*the_target->detach) () + #define mythread_alive(pid) \ (*the_target->thread_alive) (pid) |