aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-08-24 00:29:13 +0000
committerDoug Evans <dje@google.com>2013-08-24 00:29:13 +0000
commitdb68bbae94107a8019ec2473cc96a87554205620 (patch)
tree12f95a1592cbdb141ae09aa4a8233a2adeae9da9
parent4f00dda3709dc964d517fd207dab7701d0bf2c74 (diff)
downloadgdb-db68bbae94107a8019ec2473cc96a87554205620.zip
gdb-db68bbae94107a8019ec2473cc96a87554205620.tar.gz
gdb-db68bbae94107a8019ec2473cc96a87554205620.tar.bz2
* symmisc.c (dump_symtab): Delete prototype.
(dump_msymbols, dump_objfile): Ditto. (maintenance_info_symtabs): Mark as dont_repeat. (_initialize_symmisc): Improve doc string for "mt info symtabs".
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symmisc.c11
2 files changed, 8 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f85a978..36bcbd5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-08-23 Doug Evans <dje@google.com>
+ * symmisc.c (dump_symtab): Delete prototype.
+ (dump_msymbols, dump_objfile): Ditto.
+ (maintenance_info_symtabs): Mark as dont_repeat.
+ (_initialize_symmisc): Improve doc string for "mt info symtabs".
+
* elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
debugging printf to better location.
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index a1ae7bd..fb0d336 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -59,13 +59,6 @@ FILE *std_err;
/* Prototypes for local functions */
-static void dump_symtab (struct objfile *, struct symtab *,
- struct ui_file *);
-
-static void dump_msymbols (struct objfile *, struct ui_file *);
-
-static void dump_objfile (struct objfile *);
-
static int block_depth (struct block *);
void _initialize_symmisc (void);
@@ -717,6 +710,8 @@ maintenance_info_symtabs (char *regexp, int from_tty)
struct program_space *pspace;
struct objfile *objfile;
+ dont_repeat ();
+
if (regexp)
re_comp (regexp);
@@ -947,7 +942,7 @@ If a SOURCE file is specified, dump only that file's minimal symbols."),
List the full symbol tables for all object files.\n\
This does not include information about individual symbols, blocks, or\n\
linetables --- just the symbol table structures themselves.\n\
-With an argument REGEXP, list the symbol tables whose names that match that."),
+With an argument REGEXP, list the symbol tables with matching names."),
&maintenanceinfolist);
add_cmd ("check-symtabs", class_maintenance, maintenance_check_symtabs,