binutils-gdb/gdb/mi
Joel Brobecker 75082e8cbb [Ada] New GDB/MI command: -ada-tasks-info
This patch introduces a new GDB/MI command: -ada-tasks-info,
which is meant to be the MI equivalent of the CLI `info tasks'
command.

This new command returns an array, with each row corresponding
to one task.  For now, the columns of the array corresponds to
the columns displayed in the CLI output.

gdb/ChangeLog:

        * ada-lang.h (struct inferior): Declare.
        (print_ada_task_info): Add declaration.
        * ada-tasks.c (print_ada_task_info): Make non-static.
        * mi/mi-cmds.c (mi_cmds): Add "ada-task-info".
        * mi/mi-cmds.h (mi_cmd_ada_task_info): Add declaration.
        * mi/mi-main.c: #include "ada-lang.h".
        (mi_cmd_list_features): Add "ada-task-info" to the list
        of supported features.
        (mi_cmd_ada_task_info): New function.
2011-10-03 21:38:31 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c gdb/ 2011-08-28 20:39:29 +00:00
mi-cmd-disas.c gdb/ 2011-08-28 20:39:29 +00:00
mi-cmd-env.c gdb/ 2011-08-28 20:39:29 +00:00
mi-cmd-file.c 2011-08-04 Pedro Alves <pedro@codesourcery.com> 2011-08-04 19:10:14 +00:00
mi-cmd-stack.c gdb/ 2011-09-11 09:54:18 +00:00
mi-cmd-target.c gdb/ 2011-08-28 20:43:43 +00:00
mi-cmd-var.c gdb/ 2011-08-28 20:39:29 +00:00
mi-cmds.c [Ada] New GDB/MI command: -ada-tasks-info 2011-10-03 21:38:31 +00:00
mi-cmds.h [Ada] New GDB/MI command: -ada-tasks-info 2011-10-03 21:38:31 +00:00
mi-common.c
mi-common.h gdb/ 2011-09-12 21:25:22 +00:00
mi-console.c
mi-console.h
mi-getopt.c gdb/ 2011-08-28 20:39:29 +00:00
mi-getopt.h gdb/ 2011-08-28 20:39:29 +00:00
mi-interp.c gdb/ 2011-09-12 21:25:22 +00:00
mi-main.c [Ada] New GDB/MI command: -ada-tasks-info 2011-10-03 21:38:31 +00:00
mi-main.h MI breakpoint notifications. 2011-04-27 10:17:39 +00:00
mi-out.c MI breakpoint notifications. 2011-04-27 10:17:39 +00:00
mi-out.h
mi-parse.c * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. 2011-04-29 18:44:15 +00:00
mi-parse.h
mi-symbol-cmds.c 2011-08-04 Pedro Alves <pedro@codesourcery.com> 2011-08-04 19:10:14 +00:00