From 0fac0b4199c69f27906e7343e434dd0b98e5163e Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 28 Jun 2003 16:19:07 +0000 Subject: ./ * 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. --- gdb/mi/ChangeLog | 4 ++++ gdb/mi/mi-out.c | 1 + 2 files changed, 5 insertions(+) (limited to 'gdb/mi') diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index ed861f0..f4a4ad8 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,7 @@ +2003-06-28 Daniel Jacobowitz + + * mi-out.c (mi_ui_out_impl): Add NULL for redirect member. + 2003-06-17 Daniel Jacobowitz * mi-cmds.c (mi_cmds): Add "-target-disconnect". diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 2aac528..637ceb4 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -86,6 +86,7 @@ struct ui_out_impl mi_ui_out_impl = mi_message, mi_wrap_hint, mi_flush, + NULL, 1, /* Needs MI hacks. */ }; -- cgit v1.1