* values.c (set_internalvar): Set modifiable flag of newval.

This commit is contained in:
Jim Kingdon 1995-04-13 00:36:37 +00:00
parent b39958adc8
commit ade016526a
2 changed files with 5 additions and 0 deletions

View 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

View 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