old-cross-binutils/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
config
gdb.ada
gdb.arch
gdb.asm
gdb.base fix PR symtab/15719 2013-08-02 16:41:08 +00:00
gdb.btrace
gdb.cell
gdb.cp
gdb.disasm
gdb.dwarf2 PR symtab/15691 2013-08-02 00:33:07 +00:00
gdb.fortran
gdb.gdb
gdb.go
gdb.hp
gdb.java
gdb.linespec
gdb.mi
gdb.modula2
gdb.multi
gdb.objc
gdb.opencl
gdb.opt
gdb.pascal
gdb.python gdb/testsuite/ 2013-08-01 06:38:28 +00:00
gdb.reverse
gdb.server
gdb.stabs
gdb.threads
gdb.trace gdb/ 2013-07-31 00:44:42 +00:00
gdb.xml
lib
aclocal.m4
ChangeLog fix PR symtab/15719 2013-08-02 16:41:08 +00:00
configure
configure.ac
dg-extract-results.sh
Makefile.in
TODO