binutils-gdb/gdb/testsuite/gdb.threads
Daniel Jacobowitz d983da9c3d 2007-09-16 Daniel Jacobowitz <dan@codesourcery.com>
Jeff Johnston  <jjohnstn@redhat.com>

	* breakpoint.c (watchpoints_triggered): New.
	(bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument.
	Check watchpoint_triggered instead.  Combine handling for software
	and hardware watchpoints.  Do not use target_stopped_data_address
	here.  Always check a watchpoint if its scope breakpoint triggers.
	Do not stop for thread or overlay events.  Improve check for
	triggered watchpoints without a value change.
	(watch_command_1): Insert the scope breakpoint first.  Link the
	scope breakpoint to the watchpoint.
	* breakpoint.h (enum watchpoint_triggered): New.
	(struct breakpoint): Add watchpoint_triggered.
	(bpstat_stop_status): Update prototype.
	(watchpoints_triggered): Declare.
	* infrun.c (enum infwait_status): Add infwait_step_watch_state.
	(stepped_after_stopped_by_watchpoint): Delete.
	(handle_inferior_event): Make stepped_after_stopped_by_watchpoint
	local.  Handle infwait_step_watch_state.  Update calls to
	bpstat_stop_status.  Use watchpoints_triggered to check
	watchpoints.
	* remote.c (stepped_after_stopped_by_watchpoint): Remove extern.
	(remote_stopped_data_address): Do not check it.

	* gdb.texinfo (Setting Watchpoints): Adjust warning text about
	multi-threaded watchpoints.
	* gdbint.texinfo (Watchpoints): Describe how watchpoints are
	checked.  Describe sticky notification.  Expand description
	of steppable and continuable watchpoints.
	(Watchpoints and Threads): New subsection.

	* gdb.threads/watchthreads.c (thread_function): Sleep between
	iterations.
	* gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
	at once for S/390.  Generate matching fails and passes.
2007-10-01 00:17:58 +00:00
..
Makefile.in
bp_in_thread.c
bp_in_thread.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
gcore-thread.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
killed.c
killed.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
linux-dp.c
linux-dp.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
manythreads.c
manythreads.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
print-threads.c
print-threads.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
pthread_cond_wait.c
pthread_cond_wait.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
pthreads.c
pthreads.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
schedlock.c * schedlock.c (NUM): Change to 1. 2007-09-17 15:38:05 +00:00
schedlock.exp * schedlock.c (NUM): Change to 1. 2007-09-17 15:38:05 +00:00
sigthread.c
sigthread.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
staticthreads.c
staticthreads.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
step.c
step.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
step2.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
switch-threads.c
switch-threads.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
thread-specific.c
thread-specific.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
thread_check.c
thread_check.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
threadapply.c
threadapply.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
tls-main.c
tls-nodebug.c
tls-nodebug.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
tls-shared.c
tls-shared.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
tls.c
tls.exp Switch the license of all .exp files to GPLv3. 2007-08-23 18:14:19 +00:00
watchthreads.c 2007-09-16 Daniel Jacobowitz <dan@codesourcery.com> 2007-10-01 00:17:58 +00:00
watchthreads.exp 2007-09-16 Daniel Jacobowitz <dan@codesourcery.com> 2007-10-01 00:17:58 +00:00