From 26a84859720cc202e98265d9e4a2e0ddde207f86 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 10 Nov 2014 17:19:57 -0800 Subject: [PATCH] symmisc.c: Remove trailing whitespace. gdb/ChangeLog: * symmisc.c (print_objfile_statistics): Remove trailing whitespace. (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. --- gdb/ChangeLog | 5 +++++ gdb/symmisc.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b8d011726e..6a9b66014f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-11-10 Doug Evans + + * symmisc.c (print_objfile_statistics): Remove trailing whitespace. + (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. + 2014-11-10 Doug Evans * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS. diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 223a7d1667..885fe12f5c 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -132,11 +132,11 @@ print_objfile_statistics (void) blockvectors++; } printf_filtered (_(" Number of symbol tables: %d\n"), i); - printf_filtered (_(" Number of symbol tables with line tables: %d\n"), + printf_filtered (_(" Number of symbol tables with line tables: %d\n"), linetables); - printf_filtered (_(" Number of symbol tables with blockvectors: %d\n"), + printf_filtered (_(" Number of symbol tables with blockvectors: %d\n"), blockvectors); - + if (OBJSTAT (objfile, sz_strtab) > 0) printf_filtered (_(" Space used by a.out string tables: %d\n"), OBJSTAT (objfile, sz_strtab)); @@ -726,7 +726,7 @@ maintenance_info_symtabs (char *regexp, int from_tty) ALL_PSPACE_OBJFILES (pspace, objfile) { struct symtab *symtab; - + /* We don't want to print anything for this objfile until we actually find a symtab whose name matches. */ int printed_objfile_start = 0; @@ -742,7 +742,7 @@ maintenance_info_symtabs (char *regexp, int from_tty) { printf_filtered ("{ objfile %s ", objfile_name (objfile)); wrap_here (" "); - printf_filtered ("((struct objfile *) %s)\n", + printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; } @@ -750,7 +750,7 @@ maintenance_info_symtabs (char *regexp, int from_tty) printf_filtered (" { symtab %s ", symtab_to_filename_for_display (symtab)); wrap_here (" "); - printf_filtered ("((struct symtab *) %s)\n", + printf_filtered ("((struct symtab *) %s)\n", host_address_to_string (symtab)); printf_filtered (" dirname %s\n", symtab->dirname ? symtab->dirname : "(null)"); @@ -813,7 +813,7 @@ maintenance_check_symtabs (char *ignore, int from_tty) { printf_filtered ("{ objfile %s ", objfile_name (objfile)); wrap_here (" "); - printf_filtered ("((struct objfile *) %s)\n", + printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; } -- 2.34.1