aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-04-26 10:32:07 -0600
committerTom Tromey <tom@tromey.com>2024-05-14 13:02:03 -0600
commit0a6b9eefc211bc6af718d65adb260c056f3c6659 (patch)
tree3002c7964c296675eac143ff5ccb368c7dee5353 /gdb
parentad666becfe075ca7c831ebbf4b44526994395e97 (diff)
downloadgdb-0a6b9eefc211bc6af718d65adb260c056f3c6659.zip
gdb-0a6b9eefc211bc6af718d65adb260c056f3c6659.tar.gz
gdb-0a6b9eefc211bc6af718d65adb260c056f3c6659.tar.bz2
Remove fflush call from tui_refresh_cmd_win
tui_refresh_cmd_win calls fflush, but there's a comment explaining that the reason for the call is unknown. This patch removes the call. I don't think it can be useful, since gdb doesn't generally use stdout in this way -- only through ui_file.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/tui/tui-command.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/tui/tui-command.c b/gdb/tui/tui-command.c
index 59e5955..b0ae8f3 100644
--- a/gdb/tui/tui-command.c
+++ b/gdb/tui/tui-command.c
@@ -64,9 +64,4 @@ tui_refresh_cmd_win (void)
WINDOW *w = TUI_CMD_WIN->handle.get ();
tui_wrefresh (w);
-
- /* FIXME: It's not clear why this is here.
- It was present in the original tui_puts code and is kept in order to
- not introduce some subtle breakage. */
- fflush (stdout);
}