Re: [PATCH 14/40] fix two buglets in breakpoint.c

Yao Qi
2013-05-13T02:33:41Z

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 (é½å°§)