From 6c92c339539ec87dc12783e9c8f1688a4a370c03 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 30 Dec 2021 09:46:02 -0700 Subject: Convert wrap_here to use integer parameter I think it only really makes sense to call wrap_here with an argument consisting solely of spaces. Given this, it seemed better to me that the argument be an int, rather than a string. This patch is the result. Much of it was written by a script. --- gdb/symmisc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/symmisc.c') diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 2f4a076..65b06c4 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 (" "); + 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 (" "); + 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 (" "); + wrap_here (2); printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; -- cgit v1.1