diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-15 13:53:25 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-15 13:53:25 +0000 |
commit | 8e8901c5c22072ecab98e3f3e121df2bf0aefc01 (patch) | |
tree | 25ab58963d0a6a3199cd4190561f6417efb5a435 /gdb/mi/mi-cmds.h | |
parent | 7d1e6fb8639f8b672daaa338744003b4b2595d37 (diff) | |
download | gdb-8e8901c5c22072ecab98e3f3e121df2bf0aefc01.zip gdb-8e8901c5c22072ecab98e3f3e121df2bf0aefc01.tar.gz gdb-8e8901c5c22072ecab98e3f3e121df2bf0aefc01.tar.bz2 |
Implement -thread-info.
* gdbthread.h (print_thread_info): Declare.
* thread.c (print_thread_info): New, extracted
from info_threads_command and adjusted to
work for CLI and MI.
(info_threads_command): Use print_thread_info.
* Makefile.in: Update dependencies.
* mi/mi-cmds.c (mi_cmds): Specify a handler
for -thread-info.
* mi/mi-cmds.h (mi_cmd_thread_info): Declare.
* mi/mi-main.c (mi_cmd_thread_info): New.
(mi_cmd_list_features): Include 'thread-info'.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
-rw-r--r-- | gdb/mi/mi-cmds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h index 2d0393b..6a033e5 100644 --- a/gdb/mi/mi-cmds.h +++ b/gdb/mi/mi-cmds.h @@ -105,6 +105,7 @@ 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; extern mi_cmd_args_ftype mi_cmd_target_select; +extern mi_cmd_argv_ftype mi_cmd_thread_info; extern mi_cmd_argv_ftype mi_cmd_thread_list_ids; extern mi_cmd_argv_ftype mi_cmd_thread_select; extern mi_cmd_argv_ftype mi_cmd_var_assign; |