mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
Remove tui_out_new
tui_out_new is just a simple wrapper for 'new' and can be removed, simplifying gdb a tiny bit.
This commit is contained in:
@ -907,7 +907,7 @@ tui_initialize_io (void)
|
|||||||
tui_stdout = new pager_file (new tui_file (stdout));
|
tui_stdout = new pager_file (new tui_file (stdout));
|
||||||
tui_stderr = new tui_file (stderr);
|
tui_stderr = new tui_file (stderr);
|
||||||
tui_stdlog = new timestamped_file (tui_stderr);
|
tui_stdlog = new timestamped_file (tui_stderr);
|
||||||
tui_out = tui_out_new (tui_stdout);
|
tui_out = new tui_ui_out (tui_stdout);
|
||||||
|
|
||||||
/* Create the default UI. */
|
/* Create the default UI. */
|
||||||
tui_old_uiout = new cli_ui_out (gdb_stdout);
|
tui_old_uiout = new cli_ui_out (gdb_stdout);
|
||||||
|
@ -109,9 +109,3 @@ tui_ui_out::tui_ui_out (ui_file *stream)
|
|||||||
: cli_ui_out (stream, 0)
|
: cli_ui_out (stream, 0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
tui_ui_out *
|
|
||||||
tui_out_new (struct ui_file *stream)
|
|
||||||
{
|
|
||||||
return new tui_ui_out (stream);
|
|
||||||
}
|
|
||||||
|
@ -61,6 +61,4 @@ private:
|
|||||||
int m_start_of_line = 0;
|
int m_start_of_line = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern tui_ui_out *tui_out_new (struct ui_file *stream);
|
|
||||||
|
|
||||||
#endif /* TUI_TUI_OUT_H */
|
#endif /* TUI_TUI_OUT_H */
|
||||||
|
Reference in New Issue
Block a user