This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] PR python/11407
>>>>> "AndrÃ" == Andrà PÃnitz <andre.poenitz@nokia.com> writes:
AndrÃ> I'd guess it would be nice for a front end to get a hint that
AndrÃ> something unusual happened in case it wants to have some kind of
AndrÃ> special handling of such cases (like localizing the error
AndrÃ> message).
AndrÃ> A separate field error="...", or perhaps value="<error reading
AndrÃ> variable: %s>" as suggested with an additional field iserror="1"
AndrÃ> would be easier to handle than checking the "value" field for
AndrÃ> well-known strings, especially if such content could be legal
AndrÃ> output in some cases, too.
That would be fine with me.
I am curious to hear what Volodya wants.
AndrÃ> [But take this with a grain of salt, I/we haven't used MI for
AndrÃ> data retrieval for a while now, so maybe there are already enough
AndrÃ> hints in the output nowadays.]
What do you use?
Tom