old-cross-binutils/gdb/testsuite
Daniel Jacobowitz fa4727a64f * breakpoint.c (fetch_watchpoint_value): New function.
(update_watchpoint): Set and clear val_valid.  Use
	fetch_watchpoint_value.  Handle unreadable values on the
	value chain.  Correct check for user-requested array watchpoints.
	(breakpoint_init_inferior): Clear val_valid.
	(watchpoint_value_print): New function.
	(print_it_typical): Use it.  Do not free or clear old_val.  Print
	watchpoints even if old_val == NULL.
	(watchpoint_check): Use fetch_watchpoint_value.  Check for values
	becoming readable or unreadable.
	(watch_command_1): Use fetch_watchpoint_value.  Set val_valid.
	(do_enable_watchpoint): Likewise.
	* breakpoint.h (struct breakpoint): Update comment for val.  Add
	val_valid.
	* NEWS: Mention watchpoints on inaccessible memory.

	* gdb.base/watchpoint.c (global_ptr, func4): New.
	(main): Call func4.
	* gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
	(test_inaccessible_watchpoint): New.

	* gdb.texinfo (Set Watchpoints): Mention watchpoints on
	unreadable memory.  Delete obsolete SPARClite reference.
2008-03-03 13:24:12 +00:00
..
config Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.ada * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb, 2008-02-05 22:20:51 +00:00
gdb.arch 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr> 2008-02-27 15:52:33 +00:00
gdb.asm Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.base * breakpoint.c (fetch_watchpoint_value): New function. 2008-03-03 13:24:12 +00:00
gdb.cp * frame.c (reinit_frame_cache): Only annotate if frames were 2008-02-28 16:24:25 +00:00
gdb.disasm Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.dwarf2 Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.fortran Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.gdb * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches. 2008-01-26 13:56:37 +00:00
gdb.hp Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.java Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.mi * gdb.base/ending-run.exp: Use the first line of code inside 2008-02-27 20:29:31 +00:00
gdb.modula2 Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.objc Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.opt Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.pascal * gdb.pascal/floats.pas: New test program. 2008-02-06 22:24:43 +00:00
gdb.server * linux-low.c (linux_attach_lwp): Do not _exit after errors. 2008-01-30 00:51:50 +00:00
gdb.stabs Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.threads * gdb.threads/sigthread.c: Use barriers to ensure that 2008-01-29 19:20:52 +00:00
gdb.trace Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.xml Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
lib * lib/gdb.exp (gdb_expect): Of all the timeouts provided always 2008-02-29 15:40:20 +00:00
.gdbinit
aclocal.m4 gdb/ 2006-06-21 13:57:21 +00:00
ChangeLog * breakpoint.c (fetch_watchpoint_value): New function. 2008-03-03 13:24:12 +00:00
configure * configure: Regenerated. 2007-12-29 14:01:30 +00:00
configure.ac * gdb.opt/clobbered-registers-O2.c: New testcase source file. 2007-10-25 20:30:26 +00:00
Makefile.in Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
TODO