aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-05-23 11:54:52 -0600
committerTom Tromey <tom@tromey.com>2024-06-15 12:16:40 -0600
commit855dc4f2ac0ecac5936867a534f6c8992bee29a6 (patch)
tree2a45fee2f1b107afc85e7927c7015e43ecc83ba4
parent97033da5070ba90ecc1ebb2a4659e129f17709bf (diff)
downloadgdb-855dc4f2ac0ecac5936867a534f6c8992bee29a6.zip
gdb-855dc4f2ac0ecac5936867a534f6c8992bee29a6.tar.gz
gdb-855dc4f2ac0ecac5936867a534f6c8992bee29a6.tar.bz2
Remove a call to fflush
This TUI code calls fflush on stdout, but I don't believe this is useful in gdb.
-rw-r--r--gdb/tui/tui-io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index f962d7b..e64f0dd 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -636,7 +636,6 @@ tui_redisplay_readline (void)
tui_cmd_win ()->start_line -= height - 1;
wrefresh (w);
- fflush(stdout);
}
/* Readline callback to prepare the terminal. It is called once each