From a80aa921bfcae6aa535e3a85701d81c63f2bf77a Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Fri, 13 Oct 2000 20:42:55 +0000 Subject: [PATCH] 2000-10-13 Fernando Nasser * 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. --- gdb/ChangeLog | 6 ++++++ gdb/varobj.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d4a44bbfad9..9614491ca09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2000-10-13 Fernando Nasser + + * 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 * varobj.c (varobj_update): Prevent uninitialized error code to be diff --git a/gdb/varobj.c b/gdb/varobj.c index b1c44a0c86b..fe3f940ae2a 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1726,6 +1726,7 @@ type_changeable (struct varobj *var) { case TYPE_CODE_STRUCT: case TYPE_CODE_UNION: + case TYPE_CODE_ARRAY: r = 0; break; -- 2.30.2