This is the mail archive of the gdb-patches@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] |
Other format: | [Raw text] |
Hi all, here's the follow-up patch incorporating the comments.
I didn't have time to make a test case for this. I want to at least elicit the error message before I commit this, so I'll get something together tomorrow night or the night after. I don't know how easy it will be to add to the testsuite, but I'll at least do something by hand to get the error.
2003-04-23 Jason Molenda (jmolenda at apple dot com)
* typeprint.c (type_xasprint): New function to return human-readable
string representation of a type.
* value.h (type_xasprint): Add prototype.
* ada-lang.c (ada_lookup_struct_elt_type): Use type_xasprint() when
building error message.
* gdbtypes.c (lookup_struct_elt_type): Ditto.
* varobj.c (varobj_get_type): Use type_xasprint() to get the type
in a string form.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |