aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.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/symtab.c
parent7016a382b0dc48001cb5c36e56b42fc41b1303a8 (diff)
downloadgdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.zip
gdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.tar.gz
gdb-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/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index d0cda25..a32e561 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -4380,7 +4380,7 @@ output_source_filename_data::output (const char *disp_name,
m_uiout->text (", ");
m_first = false;
- wrap_here (0);
+ m_uiout->wrap_hint (0);
if (m_uiout->is_mi_like_p ())
{
m_uiout->field_string ("file", disp_name, file_name_style.style ());