diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-08 00:25:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-08 00:25:31 +0000 |
commit | 88e3b34b7c23b9a1b84abdca190f2ced0e5c4c02 (patch) | |
tree | b4d1c12b3492ae50de2325f06346ea1273c59a17 /gdb/breakpoint.c | |
parent | 8082c5a8f1fefb503b41756677d2f46d65f8eda5 (diff) | |
download | gdb-88e3b34b7c23b9a1b84abdca190f2ced0e5c4c02.zip gdb-88e3b34b7c23b9a1b84abdca190f2ced0e5c4c02.tar.gz gdb-88e3b34b7c23b9a1b84abdca190f2ced0e5c4c02.tar.bz2 |
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (deprecated_set_value_modifiable)
(deprecated_value_modifiable): Declare.
* value.c (deprecated_set_value_modifiable): Define.
(deprecated_value_modifiable): Define.
* ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 8c0d429..645fd03 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5821,7 +5821,7 @@ can_use_hardware_watchpoint (struct value *v) } } } - else if (v->lval != not_lval && v->modifiable == 0) + else if (v->lval != not_lval && deprecated_value_modifiable (v) == 0) return 0; /* ??? What does this represent? */ else if (v->lval == lval_register) return 0; /* cannot watch a register with a HW watchpoint */ |