src/gdb ChangeLog ada-lang.h ada-tasks.c mi/mi ...

brobecke@sourceware.org brobecke@sourceware.org
Mon Oct 3 21:38:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2011-10-03 21:38:31

Modified files:
	gdb            : ChangeLog ada-lang.h ada-tasks.c 
	gdb/mi         : mi-cmds.c mi-cmds.h mi-main.c 

Log message:
	[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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13371&r2=1.13372
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.h.diff?cvsroot=src&r1=1.66&r2=1.67
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-tasks.c.diff?cvsroot=src&r1=1.46&r2=1.47
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmds.c.diff?cvsroot=src&r1=1.56&r2=1.57
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmds.h.diff?cvsroot=src&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-main.c.diff?cvsroot=src&r1=1.206&r2=1.207



More information about the Gdb-cvs mailing list