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/maint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/maint.c') diff --git a/gdb/maint.c b/gdb/maint.c index 49e6229..189b146 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -364,9 +364,9 @@ maint_print_all_sections (const char *header, bfd *abfd, objfile *objfile, const char *arg) { puts_filtered (header); - wrap_here (8); + gdb_stdout->wrap_here (8); printf_filtered ("`%s', ", bfd_get_filename (abfd)); - wrap_here (8); + gdb_stdout->wrap_here (8); printf_filtered (_("file type %s.\n"), bfd_get_target (abfd)); int section_count = gdb_bfd_count_sections (abfd); -- cgit v1.1