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]

Re: [patch] Use the string returned by pretty printer for MI varobjs instead of "{...}"


>>>>> "AndrÃ" == Andrà PÃnitz <andre.poenitz@mathematik.tu-chemnitz.de> writes:

AndrÃ> 'git blame' thinks you added it in September 2009, so gdb 7.0 is
AndrÃ> probably the first one that has it.  Calling code "broken" just
AndrÃ> because it handles (also...) "legacy" setups is a bit of a stretch
AndrÃ> in my opinion.

We're only talking about dynamic varobjs here, which the MI user must
explicitly request.  Checking a dynamic varobj for "{...}" has always
been wrong, since they were first introduced.

Looking at this for non-dynamic varobjs... well, I wouldn't do that, but
it isn't relevant.

AndrÃ> If you really want to read more into the comment than what was
AndrÃ> actually written, then perhaps a friendly nudge to adapt the
AndrÃ> documentation to existing practice.

As far as I know the documentation is correct.

Tom


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