aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmds.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-11-17 16:37:35 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-11-17 16:37:35 +0000
commit6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0 (patch)
treeb13bb3c318abb466bb106f52327d60081ceb5341 /gdb/mi/mi-cmds.h
parent3d043ef6a32bab5eeaa0a4ea0532a2a7858e518e (diff)
downloadbinutils-6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0.zip
binutils-6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0.tar.gz
binutils-6418d433f1e12df96d34e5c95fe1fdd8a64bf9c0.tar.bz2
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/mi/mi-cmds.h')
-rw-r--r--gdb/mi/mi-cmds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h
index a9bb1e0..a399b9e 100644
--- a/gdb/mi/mi-cmds.h
+++ b/gdb/mi/mi-cmds.h
@@ -75,6 +75,7 @@ extern mi_cmd_argv_ftype mi_cmd_stack_list_frames;
extern mi_cmd_argv_ftype mi_cmd_stack_list_locals;
extern mi_cmd_argv_ftype mi_cmd_stack_select_frame;
extern mi_cmd_argv_ftype mi_cmd_symbol_list_lines;
+extern mi_cmd_argv_ftype mi_cmd_target_detach;
extern mi_cmd_argv_ftype mi_cmd_target_file_get;
extern mi_cmd_argv_ftype mi_cmd_target_file_put;
extern mi_cmd_argv_ftype mi_cmd_target_file_delete;