2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
* varobj.c (type_changeable): Arrays are not changeable. Trying to check for updates was causing an error if the array lived in a register as gdb value_equal() cannot handle that case yet.
This commit is contained in:
parent
102c86f873
commit
a80aa921bf
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
|
||||
|
||||
* varobj.c (type_changeable): Arrays are not changeable.
|
||||
Trying to check for updates was causing an error if the array lived
|
||||
in a register as gdb value_equal() cannot handle that case yet.
|
||||
|
||||
2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
|
||||
|
||||
* varobj.c (varobj_update): Prevent uninitialized error code to be
|
||||
|
|
|
@ -1726,6 +1726,7 @@ type_changeable (struct varobj *var)
|
|||
{
|
||||
case TYPE_CODE_STRUCT:
|
||||
case TYPE_CODE_UNION:
|
||||
case TYPE_CODE_ARRAY:
|
||||
r = 0;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue