diff options
author | Tom Tromey <tromey@adacore.com> | 2022-06-23 14:37:57 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-07-18 08:49:55 -0600 |
commit | 66fd2c678e4bbd5855f0f09870862143a518bc58 (patch) | |
tree | b8ae901c02e790aaf429dd12c28b090cebbc4f7f /gdb/mi | |
parent | efd3baf0dcb38d7ecc2c8b4d1553254d3c022b7a (diff) | |
download | gdb-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.c | 2 |
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) { |