aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
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/mi
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/mi')
-rw-r--r--gdb/mi/mi-interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 937a3d9..ae15177 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -141,7 +141,7 @@ mi_interp::init (bool top_level)
mi->event_channel = new mi_console_file (mi->raw_stdout, "=", 0);
mi->mi_uiout = mi_out_new (name ());
gdb_assert (mi->mi_uiout != nullptr);
- mi->cli_uiout = cli_out_new (mi->out);
+ mi->cli_uiout = new cli_ui_out (mi->out);
if (top_level)
{