This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] [Ada] New GDB/MI command: -ada-tasks-info
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 16 Sep 2011 13:37:00 -0700
- Subject: Re: [PATCH 1/3] [Ada] New GDB/MI command: -ada-tasks-info
- References: <1316201377-14830-1-git-send-email-brobecker@adacore.com> <1316201377-14830-2-git-send-email-brobecker@adacore.com>
I will re-send these patches, because I made two small errors:
- The introductory email got rejected because I messed up
on the subject
- The patch email subjects should have an RFA, and they don't.
I'd like the patches to be reviewed, so I will resent with
the proper subject.
Sorry about that.
On Fri, Sep 16, 2011 at 12:29:35PM -0700, Joel Brobecker wrote:
> 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.
--
Joel