diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-10-03 21:38:31 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-10-03 21:38:31 +0000 |
commit | 75082e8cbbc39096235c59a2ef8f409d0ae33d24 (patch) | |
tree | 218c71b37900eeb423caa553ff953f3596c85da7 /gdb/ChangeLog | |
parent | 7ed7d7192655d73ac3e39b92403b8e99f45b3572 (diff) | |
download | gdb-75082e8cbbc39096235c59a2ef8f409d0ae33d24.zip gdb-75082e8cbbc39096235c59a2ef8f409d0ae33d24.tar.gz gdb-75082e8cbbc39096235c59a2ef8f409d0ae33d24.tar.bz2 |
[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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index de4fdc8..c17728b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,17 @@ 2011-10-03 Joel Brobecker <brobecker@adacore.com> + * 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 Joel Brobecker <brobecker@adacore.com> + * python/python.c (python_run_simple_file): New function. (source_python_script, source_python_script_for_objfile): Replace call to PyRun_SimpleFile by call to |