This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
FYI: Another fix to varobj.c
- To: gdb at sourceware dot cygnus dot com
- Subject: FYI: Another fix to varobj.c
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 13 Oct 2000 16:42:35 -0400
- Organization: Red Hat , Inc. - Toronto
I comitted another fix:
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.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
Index: varobj.c
===================================================================
RCS file: /cvs/src/src/gdb/varobj.c,v
retrieving revision 1.9
diff -c -p -r1.9 varobj.c
*** varobj.c 2000/10/13 20:31:38 1.9
--- varobj.c 2000/10/13 20:42:20
*************** type_changeable (struct varobj *var)
*** 1726,1731 ****
--- 1726,1732 ----
{
case TYPE_CODE_STRUCT:
case TYPE_CODE_UNION:
+ case TYPE_CODE_ARRAY:
r = 0;
break;