aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-30 10:29:03 -0700
committerTom Tromey <tom@tromey.com>2022-01-26 15:19:13 -0700
commit1285ce8629b37f800bf21731ee7c7a8b1b8d0233 (patch)
treece4a47e09e9f76c5530378cb9db537ae38a92976 /gdb/symfile.c
parent7016a382b0dc48001cb5c36e56b42fc41b1303a8 (diff)
downloadbinutils-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.zip
binutils-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.tar.gz
binutils-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.tar.bz2
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.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index f0a7c7f..9bd4f48 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2607,9 +2607,9 @@ reread_symbols (int from_tty)
if (!objfile_has_symbols (objfile))
{
- wrap_here (0);
+ gdb_stdout->wrap_here (0);
printf_filtered (_("(no debugging symbols found)\n"));
- wrap_here (0);
+ gdb_stdout->wrap_here (0);
}
/* We're done reading the symbol file; finish off complaints. */