src/gdb ChangeLog ada-tasks.c

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:40

Modified files:
	gdb            : ChangeLog ada-tasks.c 

Log message:
	[Ada] Add field "thread-id" in -ada-task-info output
	
	This patch enhances the -ada-task-info command, adding a new
	field called "thread-id" in the command output.  This field
	provides the ID of the task's corresponding thread (if that
	information could not be determined, the field is omitted).
	
	This field is useful in the context of GDB/MI users, because
	it allows a quick translation from Ada task to thread, and
	thus easy use of all the commands that take a --thread argument.
	
	gdb/ChangeLog:
	
	* ada-tasks.c (print_ada_task_info): Add "thread-id" field
	in output of -ada-task-info GDB/MI command.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13372&r2=1.13373
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-tasks.c.diff?cvsroot=src&r1=1.47&r2=1.48



More information about the Gdb-cvs mailing list