mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 12:33:36 +08:00
* values.c (set_internalvar): Set modifiable flag of newval.
This commit is contained in:
parent
b39958adc8
commit
ade016526a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user