aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-06-23 14:37:57 -0600
committerTom Tromey <tromey@adacore.com>2022-07-18 08:49:55 -0600
commit66fd2c678e4bbd5855f0f09870862143a518bc58 (patch)
treeb8ae901c02e790aaf429dd12c28b090cebbc4f7f /gdb/tui
parentefd3baf0dcb38d7ecc2c8b4d1553254d3c022b7a (diff)
downloadgdb-66fd2c678e4bbd5855f0f09870862143a518bc58.zip
gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.tar.gz
gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.tar.bz2
Remove cli_out_new
cli_out_new is just a small wrapper around 'new'. This patch removes it, replacing it with uses of 'new' instead.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index 22c234a..deea9b9 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -910,7 +910,7 @@ tui_initialize_io (void)
tui_out = tui_out_new (tui_stdout);
/* Create the default UI. */
- tui_old_uiout = cli_out_new (gdb_stdout);
+ tui_old_uiout = new cli_ui_out (gdb_stdout);
#ifdef TUI_USE_PIPE_FOR_READLINE
/* Temporary solution for readline writing to stdout: redirect