This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


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

Exception using GDB


A fix for the bad pointer exception when a debugger is attached. 

 * thread.cc (verifyable_object_isvalid): Don't validate
PTHREAD_MUTEX_INITIALIZER pointer as it will cause an exception in
IsBadWritePtr() when running GDB.

Note, Insight has a bug and it will not work without this patch.... 

Trevor






Tue 24 Jul 2001 02:28:00 PM  Trevor Forbes <t4bs@hotmail.com>

	* thread.cc (verifyable_object_isvalid): Don't validate 
	PTHREAD_MUTEX_INITIALIZER pointer as it will cause an exception
	in IsBadWritePtr() when running GDB.

thread.diff


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