This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FYI: Another fix to varobj.c


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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]