0fac0b4199
* cli/cli-logging.c: New file. * cli-out.c (struct ui_out_data): Add original_stream. (cli_redirect): New function. (cli_ui_out_impl): Add cli_redirect. (cli_out_new): Initialize original_stream. * ui-out.c (default_ui_out_impl): Add NULL for redirect member. (uo_redirect, ui_out_redirect): New. * ui-out.h (struct ui_out_impl): Add redirect member. (redirect_ftype): New. (ui_out_redirect): Add prototype. * Makefile.in: Add rules for cli-logging.c. * NEWS: Mention "set logging". mi/ * mi-out.c (mi_ui_out_impl): Add NULL for redirect member. tui/ * tui-out.c (tui_ui_out_impl): Add NULL for redirect member. doc/ * gdb.texinfo (Logging output): New chapter. |
||
---|---|---|
.. | ||
ChangeLog | ||
tui-file.c | ||
tui-file.h | ||
tui-hooks.c | ||
tui-interp.c | ||
tui-out.c | ||
tui.c | ||
tui.h | ||
tuiCommand.c | ||
tuiCommand.h | ||
tuiData.c | ||
tuiData.h | ||
tuiDataWin.c | ||
tuiDataWin.h | ||
tuiDisassem.c | ||
tuiDisassem.h | ||
tuiGeneralWin.c | ||
tuiGeneralWin.h | ||
tuiIO.c | ||
tuiIO.h | ||
tuiLayout.c | ||
tuiLayout.h | ||
tuiRegs.c | ||
tuiRegs.h | ||
tuiSource.c | ||
tuiSource.h | ||
tuiSourceWin.c | ||
tuiSourceWin.h | ||
tuiStack.c | ||
tuiStack.h | ||
tuiWin.c | ||
tuiWin.h |