This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog sol-thread.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2013-05-08 06:23:50

Modified files:
	gdb            : ChangeLog sol-thread.c 

Log message:
	Improve output of "maintenance info sol-threads" command.
	
	This patch does the following:
	- Puts the startfunc and "Sleep func" info on the same line;
	- Renames "Sleep func" into "sleepfunc" to be consistent with
	"startfunc"
	- Avoids the use of a '-' as a separate before the "sleepfunc"
	output, because the '-' looks odd and out of place when the
	"startfunc" field is not printed (ti.ti_startfunc is nul).
	- Use a '=' instead of ':' and avoids the space between
	the name of the value and its value, mostly to help group
	the value with its name.
	
	For the record, this is how the new outout now looks like:
	
	(gdb) maintenance info sol-threads
	user   thread #1, lwp 1, (active)
	system thread #2, lwp 2, (active)
	system thread #3, lwp 0, (asleep)    sleepfunc=0xff32d9e0
	user   thread #4, lwp 4, (asleep)    startfunc=[...].task_wrapper   sleepfunc=0xff3290f0
	system thread #5, lwp 7, (active)    startfunc=_co_timerset
	user   thread #6, lwp 8, (active)    startfunc=[...].task_wrapper
	
	gdb/ChangeLog:
	
	* sol-thread.c (info_cb): Rework the output of the "maintenance
	info sol-threads" command a bit.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15533&r2=1.15534
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/sol-thread.c.diff?cvsroot=src&r1=1.98&r2=1.99


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]