This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Display breakpoint commands as a list [PR mi/9659]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: David Narvaez <david dot narvaez at computer dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 22 Dec 2012 14:18:51 +0100
- Subject: Re: Display breakpoint commands as a list [PR mi/9659]
- References: <CACFh1D4g+DJmxriunSVqFkX29Aer-m-kX7Q-zVz=pFh0gwReTQ@mail.gmail.com>
http://sourceware.org/bugzilla/show_bug.cgi?id=9659
On Wed, 19 Dec 2012 20:18:51 +0100, David Narvaez wrote:
> Resending this patch that was sent to bug #9659
[...]
> - script_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "script");
> + script_chain = make_cleanup_ui_out_list_begin_end (uiout, "script");
Such patch was already here:
[patch] MI: breakpoint "script" is a LIST
Message-ID: <20081113130442.GA12991@host0.dyn.jankratochvil.net>
http://sourceware.org/ml/gdb-patches/2008-11/msg00260.html
It was rejected as MI compatibility with existing front ends has higher
priority than the need to provide workarounds in new MI front ends.
One should at least verify such change is compatible with most/major front
ends listed in
http://sourceware.org/gdb/wiki/GDB_Front_Ends
including some their older versions still in use.
The could also be a small new testcase to track better the fix/change.
Thanks,
Jan