diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-30 10:29:03 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-26 15:19:13 -0700 |
commit | 1285ce8629b37f800bf21731ee7c7a8b1b8d0233 (patch) | |
tree | ce4a47e09e9f76c5530378cb9db537ae38a92976 /gdb/symmisc.c | |
parent | 7016a382b0dc48001cb5c36e56b42fc41b1303a8 (diff) | |
download | fsf-binutils-gdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.zip fsf-binutils-gdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.tar.gz fsf-binutils-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/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 65b06c4..cd51f66 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -766,7 +766,7 @@ maintenance_info_symtabs (const char *regexp, int from_tty) if (! printed_objfile_start) { printf_filtered ("{ objfile %s ", objfile_name (objfile)); - wrap_here (2); + gdb_stdout->wrap_here (2); printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; @@ -816,7 +816,7 @@ maintenance_info_symtabs (const char *regexp, int from_tty) printf_filtered ("\t{ symtab %s ", symtab_to_filename_for_display (symtab)); - wrap_here (4); + gdb_stdout->wrap_here (4); printf_filtered ("((struct symtab *) %s)\n", host_address_to_string (symtab)); printf_filtered ("\t fullname %s\n", @@ -873,7 +873,7 @@ maintenance_check_symtabs (const char *ignore, int from_tty) if (! printed_objfile_start) { printf_filtered ("{ objfile %s ", objfile_name (objfile)); - wrap_here (2); + gdb_stdout->wrap_here (2); printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; |