diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 16:37:35 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 16:37:35 +0000 |
commit | 6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0 (patch) | |
tree | b13bb3c318abb466bb106f52327d60081ceb5341 /gdb/inferior.h | |
parent | 3d043ef6a32bab5eeaa0a4ea0532a2a7858e518e (diff) | |
download | ppe42-binutils-6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0.tar.gz ppe42-binutils-6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0.zip |
Implement '-target-detach pid'.
* infcmd.c (detach_command): Make nonstatic.
* inferior.h (detach_command): Declare.
* mi/mi-cmds.c (mi_cmds): Don't route -target-detach via CLI.
* mi/mi-cmds.h (mi_cmd_target_detach): Declare.
* mi/mi-main.c (find_thread_of_process, mi_cmd_target_detach): New.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 1be6cc5c11..f004d44ecf 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -269,6 +269,8 @@ extern void interrupt_target_command (char *args, int from_tty); extern void interrupt_target_1 (int all_threads); +extern void detach_command (char *, int); + /* Address at which inferior stopped. */ extern CORE_ADDR stop_pc; |