aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-28 16:19:07 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-28 16:19:07 +0000
commit0fac0b4199c69f27906e7343e434dd0b98e5163e (patch)
tree15f8c0cc45939f9a12172feaf65f5bdc629ac6c8 /gdb/tui
parent1579bae1cd094ed9b986d2128997953600ca910d (diff)
downloadgdb-0fac0b4199c69f27906e7343e434dd0b98e5163e.zip
gdb-0fac0b4199c69f27906e7343e434dd0b98e5163e.tar.gz
gdb-0fac0b4199c69f27906e7343e434dd0b98e5163e.tar.bz2
./
* 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.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/ChangeLog4
-rw-r--r--gdb/tui/tui-out.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 9ab3461..aa2fc5a 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-28 Daniel Jacobowitz <drow@mvista.com>
+
+ * tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
+
2003-06-22 Daniel Jacobowitz <drow@mvista.com>
* tui-hooks.c: Update include order.
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index 94fda09..e1be56a 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -90,6 +90,7 @@ static struct ui_out_impl tui_ui_out_impl =
tui_message,
tui_wrap_hint,
tui_flush,
+ NULL,
0, /* Does not need MI hacks (i.e. needs CLI hacks). */
};