summaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
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
commitb9e26e7c0526e8ce91df1cbee9020907ce164ba5 (patch)
tree067cd21a9b21a62af05b449d5309a778865b1882 /gdb/symmisc.c
parenta39f2adfce301bda747944612ed309ec018af712 (diff)
downloadgdb-b9e26e7c0526e8ce91df1cbee9020907ce164ba5.tar.gz
* 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".
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index a1ae7bdffd7..fb0d336b3ec 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,