symmisc.c: Remove trailing whitespace.
gdb/ChangeLog: * symmisc.c (print_objfile_statistics): Remove trailing whitespace. (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
This commit is contained in:
parent
712a2e6d22
commit
26a8485972
2 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2014-11-10 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* symmisc.c (print_objfile_statistics): Remove trailing whitespace.
|
||||||
|
(maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
|
||||||
|
|
||||||
2014-11-10 Doug Evans <xdje42@gmail.com>
|
2014-11-10 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
|
* source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
|
||||||
|
|
|
@ -132,11 +132,11 @@ print_objfile_statistics (void)
|
||||||
blockvectors++;
|
blockvectors++;
|
||||||
}
|
}
|
||||||
printf_filtered (_(" Number of symbol tables: %d\n"), i);
|
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);
|
linetables);
|
||||||
printf_filtered (_(" Number of symbol tables with blockvectors: %d\n"),
|
printf_filtered (_(" Number of symbol tables with blockvectors: %d\n"),
|
||||||
blockvectors);
|
blockvectors);
|
||||||
|
|
||||||
if (OBJSTAT (objfile, sz_strtab) > 0)
|
if (OBJSTAT (objfile, sz_strtab) > 0)
|
||||||
printf_filtered (_(" Space used by a.out string tables: %d\n"),
|
printf_filtered (_(" Space used by a.out string tables: %d\n"),
|
||||||
OBJSTAT (objfile, sz_strtab));
|
OBJSTAT (objfile, sz_strtab));
|
||||||
|
@ -726,7 +726,7 @@ maintenance_info_symtabs (char *regexp, int from_tty)
|
||||||
ALL_PSPACE_OBJFILES (pspace, objfile)
|
ALL_PSPACE_OBJFILES (pspace, objfile)
|
||||||
{
|
{
|
||||||
struct symtab *symtab;
|
struct symtab *symtab;
|
||||||
|
|
||||||
/* We don't want to print anything for this objfile until we
|
/* We don't want to print anything for this objfile until we
|
||||||
actually find a symtab whose name matches. */
|
actually find a symtab whose name matches. */
|
||||||
int printed_objfile_start = 0;
|
int printed_objfile_start = 0;
|
||||||
|
@ -742,7 +742,7 @@ maintenance_info_symtabs (char *regexp, int from_tty)
|
||||||
{
|
{
|
||||||
printf_filtered ("{ objfile %s ", objfile_name (objfile));
|
printf_filtered ("{ objfile %s ", objfile_name (objfile));
|
||||||
wrap_here (" ");
|
wrap_here (" ");
|
||||||
printf_filtered ("((struct objfile *) %s)\n",
|
printf_filtered ("((struct objfile *) %s)\n",
|
||||||
host_address_to_string (objfile));
|
host_address_to_string (objfile));
|
||||||
printed_objfile_start = 1;
|
printed_objfile_start = 1;
|
||||||
}
|
}
|
||||||
|
@ -750,7 +750,7 @@ maintenance_info_symtabs (char *regexp, int from_tty)
|
||||||
printf_filtered (" { symtab %s ",
|
printf_filtered (" { symtab %s ",
|
||||||
symtab_to_filename_for_display (symtab));
|
symtab_to_filename_for_display (symtab));
|
||||||
wrap_here (" ");
|
wrap_here (" ");
|
||||||
printf_filtered ("((struct symtab *) %s)\n",
|
printf_filtered ("((struct symtab *) %s)\n",
|
||||||
host_address_to_string (symtab));
|
host_address_to_string (symtab));
|
||||||
printf_filtered (" dirname %s\n",
|
printf_filtered (" dirname %s\n",
|
||||||
symtab->dirname ? symtab->dirname : "(null)");
|
symtab->dirname ? symtab->dirname : "(null)");
|
||||||
|
@ -813,7 +813,7 @@ maintenance_check_symtabs (char *ignore, int from_tty)
|
||||||
{
|
{
|
||||||
printf_filtered ("{ objfile %s ", objfile_name (objfile));
|
printf_filtered ("{ objfile %s ", objfile_name (objfile));
|
||||||
wrap_here (" ");
|
wrap_here (" ");
|
||||||
printf_filtered ("((struct objfile *) %s)\n",
|
printf_filtered ("((struct objfile *) %s)\n",
|
||||||
host_address_to_string (objfile));
|
host_address_to_string (objfile));
|
||||||
printed_objfile_start = 1;
|
printed_objfile_start = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue