[PATCH 14/40] fix two buglets in breakpoint.c
Yao Qi
yao@codesourcery.com
Mon May 13 02:33:00 GMT 2013
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 (é½å°§)
More information about the Gdb-patches
mailing list