* 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".
This commit is contained in:
Doug Evans 2013-08-24 00:29:13 +00:00
parent 4f00dda370
commit db68bbae94
2 changed files with 8 additions and 8 deletions

View file

@ -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.

View file

@ -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,