binutils-gdb/gdb/testsuite
Tom Tromey 3a1115a0cc fix PR symtab/15719
This patch fixes PR symtab/15719.

The bug is that "watch -location" crashes on a certain expression.

The problem is that fetch_subexp_value is catching an exception.
For ordinary watchpoints this is ok; but for location watchpoints,
it is better for the exception to propagate.

Built and regtested on x86-64 Fedora 18.
New test case included.

	PR symtab/15719:
	* breakpoint.c (update_watchpoint, watchpoint_check)
	(watch_command_1): Update.
	* eval.c (fetch_subexp_value): Add "preserve_errors"
	parameter.
	* ppc-linux-nat.c (check_condition): Update.
	* value.h (fetch_subexp_value): Update.

	* gdb.base/watchpoint.c (struct foo5): New.
	(nullptr): New global.
	* gdb.base/watchpoint.exp (test_watch_location): Add test.
2013-08-02 16:41:08 +00:00
..
boards * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass 2013-07-24 21:59:30 +00:00
config Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
gdb.ada simple test suite fix in gdb.ada 2013-07-16 18:52:18 +00:00
gdb.arch gdb: clean up x86 cpuid implementations 2013-06-19 22:29:36 +00:00
gdb.asm Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
gdb.base fix PR symtab/15719 2013-08-02 16:41:08 +00:00
gdb.btrace record-btrace: fix assertion when enabling recording after re-run 2013-03-26 07:15:09 +00:00
gdb.cell Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb.cp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
gdb.disasm Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
gdb.dwarf2 PR symtab/15691 2013-08-02 00:33:07 +00:00
gdb.fortran Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.gdb fix python-selftest.exp failure with gdbserver 2013-06-18 14:12:09 +00:00
gdb.go Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.hp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
gdb.java Fix formating in copyright headers. 2013-06-07 14:39:33 +00:00
gdb.linespec gdb/ 2013-05-07 17:04:29 +00:00
gdb.mi * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead 2013-07-26 18:15:07 +00:00
gdb.modula2 Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.multi Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.objc Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.opencl Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.opt Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.pascal Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
gdb.python gdb/testsuite/ 2013-08-01 06:38:28 +00:00
gdb.reverse * gdb.reverse/shr.h: New file. 2013-05-06 22:07:13 +00:00
gdb.server Upload tsv earlier in remote_start_remote 2013-06-25 13:01:28 +00:00
gdb.stabs Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.threads gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads. 2013-07-18 15:49:22 +00:00
gdb.trace gdb/ 2013-07-31 00:44:42 +00:00
gdb.xml 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> 2013-05-07 01:12:41 +00:00
lib gdb/testsuite/ 2013-07-18 22:38:58 +00:00
ChangeLog fix PR symtab/15719 2013-08-02 16:41:08 +00:00
Makefile.in Add tests for the new record-btrace target. 2013-03-11 08:59:00 +00:00
TODO
aclocal.m4
configure Add tests for the new record-btrace target. 2013-03-11 08:59:00 +00:00
configure.ac Add tests for the new record-btrace target. 2013-03-11 08:59:00 +00:00
dg-extract-results.sh Merge dg-extract-results.sh from gcc upstream (svn 195224). 2013-01-17 14:31:11 +00:00