]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* values.c (set_internalvar): Set modifiable flag of newval.
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 13 Apr 1995 00:36:37 +0000 (00:36 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 13 Apr 1995 00:36:37 +0000 (00:36 +0000)
gdb/ChangeLog
gdb/values.c

index 9e706d83e2eb57bd2da10cb94205a2a9aeeac0d6..7d1998607dc66e96579ea9d99c48a65227da40c2 100644 (file)
@@ -1,3 +1,7 @@
+Wed Apr 12 16:36:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * values.c (set_internalvar): Set modifiable flag of newval.
+
 Wed Apr 12 14:34:31 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
 
        * xcoffread.c: Call complain() rather than error() or printing a
index 788222e528c48e9c6ef110077220341d32268d95..accb0d595801516018973cb15aea40c9da6b170d 100644 (file)
@@ -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