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] |
On 05/10/2013 02:51 AM, Tom Tromey wrote:
@@ -5814,7 +5814,10 @@ output_thread_groups (struct ui_out *uiout, /* For backward compatibility, don't display inferiors in CLI unless there are several. Always display them for MI. */ if (!is_mi && mi_only) - return; + { + do_cleanups (back_to); + return; + }
Tom,A nit here, we may call 'make_cleanup_ui_out_list_begin_end' after this condition checking, so we don't need 'do_cleanups' here.
-- Yao (éå)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |