aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 788222e..accb0d5 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -485,6 +485,7 @@ set_internalvar (var, val)
#endif
newval = value_copy (val);
+ newval->modifiable = 1;
/* Force the value to be fetched from the target now, to avoid problems
later when this internalvar is referenced and the target is gone or