aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-10 17:19:57 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-10 17:19:57 -0800
commit26a84859720cc202e98265d9e4a2e0ddde207f86 (patch)
tree6403a19b8dc5889962c4e6c6f085a8ca6e3efd2b /gdb
parent712a2e6d225f2139be6954c948d8db2787071051 (diff)
downloadgdb-26a84859720cc202e98265d9e4a2e0ddde207f86.zip
gdb-26a84859720cc202e98265d9e4a2e0ddde207f86.tar.gz
gdb-26a84859720cc202e98265d9e4a2e0ddde207f86.tar.bz2
symmisc.c: Remove trailing whitespace.
gdb/ChangeLog: * symmisc.c (print_objfile_statistics): Remove trailing whitespace. (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symmisc.c14
2 files changed, 12 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b8d0117..6a9b660 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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>
+
* source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
2014-11-10 Doug Evans <xdje42@gmail.com>
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 223a7d1..885fe12 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;
}