From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22671 invoked by alias); 16 Sep 2011 20:37:25 -0000 Received: (qmail 22517 invoked by uid 22791); 16 Sep 2011 20:37:24 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Sep 2011 20:37:10 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3F0AA2BAB97 for ; Fri, 16 Sep 2011 16:37:10 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IdvEDbE8wMLX for ; Fri, 16 Sep 2011 16:37:10 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 9499F2BAB62 for ; Fri, 16 Sep 2011 16:37:09 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id A1DAD145615; Fri, 16 Sep 2011 16:37:00 -0400 (EDT) Date: Fri, 16 Sep 2011 20:45:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [PATCH 1/3] [Ada] New GDB/MI command: -ada-tasks-info Message-ID: <20110916203700.GC17681@adacore.com> References: <1316201377-14830-1-git-send-email-brobecker@adacore.com> <1316201377-14830-2-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1316201377-14830-2-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00324.txt.bz2 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