From 1285ce8629b37f800bf21731ee7c7a8b1b8d0233 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 30 Dec 2021 10:29:03 -0700 Subject: Always call the wrap_here method This changes all existing calls to wrap_here to call the method on the appropriate ui_file instead. The choice of ui_file is determined by context. --- gdb/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index 46983d1..a94ed5c 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1364,7 +1364,7 @@ command_line_input (const char *prompt_arg, const char *annotation_suffix) /* Make sure that all output has been output. Some machines may let you get away with leaving out some of the gdb_flush, but not all. */ - wrap_here (0); + gdb_stdout->wrap_here (0); gdb_flush (gdb_stdout); gdb_flush (gdb_stderr); -- cgit v1.1