]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove a call to fflush
authorTom Tromey <tom@tromey.com>
Thu, 23 May 2024 17:54:52 +0000 (11:54 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 15 Jun 2024 18:16:40 +0000 (12:16 -0600)
This TUI code calls fflush on stdout, but I don't believe this is
useful in gdb.

gdb/tui/tui-io.c

index f962d7bdc82b66fd00c64b6f4119f42140f84880..e64f0ddce78820e4dd1d6962fc143f88e032402d 100644 (file)
@@ -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