This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATH, RFA]: Fix UI_OUT related problem in stack.c:print_frame()
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: [PATH, RFA]: Fix UI_OUT related problem in stack.c:print_frame()
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Sat, 27 Jan 2001 09:59:55 -0500
- References: <200101271125.f0RBPtA02984@delius.kettenis.local>
On Sat, Jan 27, 2001 at 12:25:55PM +0100, Mark Kettenis wrote:
>Hi,
>
>Right now GDB will report an internal error if you use `q' to quit
>from a long backtrace a couple of time. Obviously in this case
>ui_out_list_end() isn't called and after calling ui_out_list_begin()
>four times the following message is printed:
>
> ui_out: list depth exceeded; only 4 levels of lists can be nested.
Thank you! This has been bugging me for a couple of days.
>The attached fixes this by adding ui_out_list_end() to the list of
>cleanup actions. I introduced make_cleanup_ui_out_list_end() to avoid
>compiler warnings and since I expect that there might very well be
>more cases where this sort of thing is needed.
>
>OK to install?
I hope so.
cgf