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 windows-nat.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2013-06-11 10:20:24

Modified files:
	gdb            : ChangeLog windows-nat.c 

Log message:
	windows: Prefix thread ID values with "0x" in debug traces
	
	The windows-nat.c debug traces print the thread ID in base 16,
	but give no indication of it. So, in a trace like the following...
	
	gdb: kernel event for pid=4816 tid=720 code=CREATE_THREAD_DEBUG_EVENT)
	
	... where tid is "720", it's easy to be confused and think that
	the thread ID is 720 rather than 0x720.  This patch avoids the
	confusion by adding the usual "0x" prefix used for hexadecimal
	values.
	
	gdb/ChangeLog:
	
	* windows-nat.c (windows_continue): Add "0x" prefix for thread
	ID in debug trace.
	(get_windows_debug_event): Likewise, for all debug traces.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15700&r2=1.15701
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/windows-nat.c.diff?cvsroot=src&r1=1.253&r2=1.254


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