mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
Remove unnecessary calls to wrap_here and gdb_flush
Various spots in gdb currently know about the wrap buffer, and so are careful to call wrap_here to be certain that all output has been flushed. Now that the pager is just an ordinary stream, this isn't needed, and a simple call to gdb_flush is enough. Similarly, there are places where gdb prints to gdb_stderr, but first flushes gdb_stdout. stderr_file already flushes gdb_stdout, so these aren't needed.
This commit is contained in:
@ -846,7 +846,6 @@ echo_command (const char *text, int from_tty)
|
||||
gdb_stdout->reset_style ();
|
||||
|
||||
/* Force this output to appear now. */
|
||||
gdb_stdout->wrap_here (0);
|
||||
gdb_flush (gdb_stdout);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user