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 linux-nat.h linux-nat.c test ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2009-11-20 19:48:45

Modified files:
	gdb            : ChangeLog linux-nat.h linux-nat.c 
Added files:
	gdb/testsuite/gdb.threads: watchthreads-reorder.c 
	                           watchthreads-reorder.exp 

Log message:
	gdb/
	2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
	Pedro Alves  <pedro@codesourcery.com>
	
	Fix reordered watchpoints triggered in other threads during all-stop.
	
	* linux-nat.c (resume_callback, linux_nat_resume): Clear
	stopped_by_watchpoint.
	(save_sigtrap, linux_nat_stopped_by_watchpoint)
	(linux_nat_stopped_data_address): New.
	(stop_wait_callback, linux_nat_filter_event): Call save_sigtrap.
	(linux_nat_add_target): Install linux_nat_stopped_by_watchpoint
	and linux_nat_stopped_data_address.
	* linux-nat.h (struct lwp_info): New fields stopped_by_watchpoint,
	stopped_data_address_p and stopped_data_address.
	
	gdb/testsuite/
	2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
	
	* gdb.base/watchthreads-reorder.exp,
	gdb.base/watchthreads-reorder.c: New.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11099&r2=1.11100
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linux-nat.h.diff?cvsroot=src&r1=1.31&r2=1.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linux-nat.c.diff?cvsroot=src&r1=1.155&r2=1.156
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/watchthreads-reorder.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/watchthreads-reorder.exp.diff?cvsroot=src&r1=NONE&r2=1.1


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