OSDN Git Service

* 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)
commit8b8a5bf645db53e005a2f85733decd905af4af66
tree00ea6a052de2f8665cbf87790aeed99f2ffe915d
parentc1c4884a9e4442abf0d0993ec213fdb9207f1c5a
* 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