* ui-out.c (do_list_end): New function.
authorMark Kettenis <kettenis@gnu.org>
Sat, 27 Jan 2001 17:57:53 +0000 (17:57 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 27 Jan 2001 17:57:53 +0000 (17:57 +0000)
commite6e0bfabf47cb6ac3f5df9f87ee9d9940e3078d8
tree357f95b9dde0b2aa2ed6cb457dafeeb2fce86c63
parent9d969b59b8458cfe9cc8a555dc7b98b3b7c6dcaa
* ui-out.c (do_list_end): New function.
(make_cleanup_ui_out_list_end): New function.
* ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
* stack.c (print_frame) [UI_OUT]: Call
make_cleanup_ui_out_list_end to make sure we mark the end of the
list if we do a non-local exit.  At the end of the function,
instead of calling ui_out_list_end directly, let do_cleanups
handle it.
gdb/ChangeLog
gdb/stack.c
gdb/ui-out.c
gdb/ui-out.h