OSDN Git Service

gdb/
authorpalves <palves>
Tue, 9 Nov 2010 18:23:50 +0000 (18:23 +0000)
committerpalves <palves>
Tue, 9 Nov 2010 18:23:50 +0000 (18:23 +0000)
commit64cdb2e969186cd36ab70022e7b03a3bfd5779cc
tree58b408cded9d779289b68908de98cbb518556312
parent8bedba161e916eb4fd91f448c6b61ff0dc8c448d
gdb/
* breakpoint.c (watch_command_1): Get a pointer of the lazy
version of the expression's value, even if reading the value from
memory fails.  When creating a -location watchpoint, get the
value's address from the lazy value pointer.

gdb/testsuite/
* gdb.base/watchpoint.exp: Test "watch -location" with an
innacessible location.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp