This is the mail archive of the gdb-patches@sourceware.org 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] |
Other format: | [Raw text] |
>> >> ! return (TYPE_CODE (type) != TYPE_CODE_ARRAY >> && TYPE_CODE (type) != TYPE_CODE_STRUCT >> && TYPE_CODE (type) != TYPE_CODE_UNION); > > I'd suspect the comment's bogus, in light of this comment in varobj.c > > /* The type of this variable. This may NEVER be NULL. */ > struct type *type; > > I think mi_print_value_p can either assume type is not NULL, or > gdb_assert that. OK, how about this?
Attachment:
mitype2.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |