This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Use the string returned by pretty printer for MI varobjs instead of "{...}"
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrà PÃnitz <andre dot poenitz at mathematik dot tu-chemnitz dot de>
- Cc: xgsa <xgsa at yandex dot ua>, "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>, Vladimir_Prus at mentor dot com
- Date: Wed, 16 May 2012 08:58:42 -0600
- Subject: Re: [patch] Use the string returned by pretty printer for MI varobjs instead of "{...}"
- References: <305151335125397@web28e.yandex.ru> <87likttnme.fsf@fleche.redhat.com> <20120516010500.GB3321@klara.mpi.htwm.de>
>>>>> "AndrÃ" == Andrà PÃnitz <andre.poenitz@mathematik.tu-chemnitz.de> writes:
Tom> My recollection is that the code originally worked this way, but
Tom> Vladimir asked for the "{...}" behavior specifically.
AndrÃ> It might affect frontends taking a "{...}" as indication that there
AndrÃ> are childrens. In fact, I just found some code using that as a shortcut.
That code is just plain broken, though. The has_more field conveys this
information.
Tom