diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 12:13:49 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 12:13:49 +0000 |
commit | 3ee1c036ac61c61fc906fc93eb63fe625cacaa55 (patch) | |
tree | bc7ff8d51fe05ebb01a917b4a3f5a86bb6adddb5 /gdb/mi/mi-cmds.h | |
parent | 1604c175b2d182fae01fe4b3ef01df5cc4598c0b (diff) | |
download | gdb-3ee1c036ac61c61fc906fc93eb63fe625cacaa55.zip gdb-3ee1c036ac61c61fc906fc93eb63fe625cacaa55.tar.gz gdb-3ee1c036ac61c61fc906fc93eb63fe625cacaa55.tar.bz2 |
Implement -list-thread-groups.
* thread.c (print_thread_info): New parameter pid, to print
threads of specific process.
* gdbthread.h (print_thread_info): New parameter pid.
* mi/mi-cmds.c (mi_cmds): Register -list-thread-groups.
* mi/mi-cmds.h (mi_cmd_list_thread_groups): New.
* mi/mi-main.c (mi_cmd_thread_info): Adjust.
(print_one_process, mi_cmd_list_thread_groups): New.
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 16887ae..a9bb1e0 100644 --- a/gdb/mi/mi-cmds.h +++ b/gdb/mi/mi-cmds.h @@ -67,6 +67,7 @@ extern mi_cmd_argv_ftype mi_cmd_inferior_tty_show; extern mi_cmd_argv_ftype mi_cmd_interpreter_exec; extern mi_cmd_argv_ftype mi_cmd_list_features; extern mi_cmd_argv_ftype mi_cmd_list_target_features; +extern mi_cmd_argv_ftype mi_cmd_list_thread_groups; extern mi_cmd_argv_ftype mi_cmd_stack_info_depth; extern mi_cmd_argv_ftype mi_cmd_stack_info_frame; extern mi_cmd_argv_ftype mi_cmd_stack_list_args; |