binutils-gdb/gdb/testsuite/gdb.arch
Pedro Alves 1ced966e34 2011-07-22 Pedro Alves <pedro@codesourcery.com>
gdb/testsuite/
	* gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
	backend doesn't leave used debug registers behind.

	gdb/gdbserver/
	* i386-low.c (i386_insert_aligned_watchpoint): Don't pass the info
	to the inferior here.
	(i386_remove_aligned_watchpoint): Ditto.
	(i386_handle_nonaligned_watchpoint): Return immediate on fail to
	fit part of the watchpoint in the debug registers.
	(i386_update_inferior_debug_regs): New.
	(i386_low_insert_watchpoint): Work on a local mirror of the debug
	registers, and only update the inferior on success.
	(i386_low_remove_watchpoint): Ditto.

	gdb/
	* i386-nat.c (I386_DR_VACANT, I386_DR_LOCAL_ENABLE)
	(I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
	(I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): Add state parameter and
	adjust.
	(dr_mirror, dr_status_mirror, dr_control_mirror): Delete.
	(struct i386_debug_reg_state): New.
	(i386_init_dregs): New.
	(dr_mirror): New.
	(i386_cleanup_dregs): Use i386_init_dregs.
	(i386_show_dr): Add state parameter and adjust.
	(i386_insert_aligned_watchpoint): Ditto.  Don't pass the info to
	the inferior here.
	(i386_remove_aligned_watchpoint): Likewise.
	(i386_handle_nonaligned_watchpoint): Add state parameter and adjust.
	(i386_update_inferior_debug_regs): New.
	(i386_insert_watchpoint): Work on a local mirror of the debug
	registers, and only update the inferior on success.
	(i386_remove_watchpoint): Ditto.
	(i386_region_ok_for_watchpoint): Adjust.
	(i386_stopped_data_address): Adjust.
	(i386_insert_hw_breakpoint): Adjust.
	(i386_remove_hw_breakpoint): Adjust.
2011-07-22 16:58:32 +00:00
..
Makefile.in 2011-05-16 Pedro Alves <pedro@codesourcery.com> 2011-05-16 13:56:41 +00:00
alpha-step.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
alpha-step.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
altivec-abi.c ChangeLog: 2011-02-08 13:25:01 +00:00
altivec-abi.exp gdb/ 2011-03-15 14:42:34 +00:00
altivec-regs.c
altivec-regs.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-byte.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-disp-step.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-disp-step.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-dword.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-i386-address.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-i386-address.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-pseudo.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
amd64-word.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
arm-disp-step.S 2011-05-05 Yao Qi <yao@codesourcery.com> 2011-05-05 02:51:28 +00:00
arm-disp-step.exp 2011-05-05 Yao Qi <yao@codesourcery.com> 2011-05-05 02:51:28 +00:00
e500-abi.c
e500-abi.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
e500-prologue.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
e500-prologue.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
e500-regs.c
e500-regs.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gcore.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb1291.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb1291.s Update the copyright year for most remaining files in GDB 2011-01-05 05:09:55 +00:00
gdb1431.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb1431.s Update the copyright year for most remaining files in GDB 2011-01-05 05:09:55 +00:00
gdb1558.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb1558.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-avx.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-avx.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-bp_permanent.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-byte.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-cpuid.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-disp-step.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-disp-step.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-dr3-watch.c 2011-05-31 Pedro Alves <pedro@codesourcery.com> 2011-05-31 21:18:56 +00:00
i386-dr3-watch.exp 2011-07-22 Pedro Alves <pedro@codesourcery.com> 2011-07-22 16:58:32 +00:00
i386-gnu-cfi-asm.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-gnu-cfi.c
i386-gnu-cfi.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-permbkpt.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-permbkpt.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-prologue.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-prologue.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-pseudo.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-signal.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-signal.exp 2011-05-16 Pedro Alves <pedro@codesourcery.com> 2011-05-16 13:56:41 +00:00
i386-size-overlap.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-size-overlap.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-size.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-size.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-sse.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-sse.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-unwind.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
i386-unwind.exp ../commit.txt~ 2011-05-24 12:01:22 +00:00
i386-word.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ia64-breakpoint-shadow.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ia64-breakpoint-shadow.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
iwmmxt-regs.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
iwmmxt-regs.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pa-nullify.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pa-nullify.s
pa64-nullify.s
powerpc-aix-prologue.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
powerpc-aix-prologue.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
powerpc-d128-regs.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
powerpc-d128-regs.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
powerpc-prologue.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
powerpc-prologue.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc-dfp.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc-dfp.exp gdb 2011-03-07 16:03:04 +00:00
ppc-fp.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc-fp.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc64-atomic-inst.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc64-atomic-inst.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
spu-info.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
spu-info.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
spu-ls.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
spu-ls.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
system-gcore.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thumb-prologue.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thumb-prologue.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thumb-singlestep.S gdb/ 2011-04-01 11:57:03 +00:00
thumb-singlestep.exp gdb/ 2011-04-01 11:57:03 +00:00
thumb2-it.S run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thumb2-it.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
vsx-regs.c
vsx-regs.exp gdb/ 2011-02-15 13:35:23 +00:00