diff options
author | Doug Evans <dje@google.com> | 2013-08-24 00:29:13 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-08-24 00:29:13 +0000 |
commit | db68bbae94107a8019ec2473cc96a87554205620 (patch) | |
tree | 12f95a1592cbdb141ae09aa4a8233a2adeae9da9 /gdb/symmisc.c | |
parent | 4f00dda3709dc964d517fd207dab7701d0bf2c74 (diff) | |
download | gdb-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".
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 11 |
1 files changed, 3 insertions, 8 deletions
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, |