mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user