From b9e26e7c0526e8ce91df1cbee9020907ce164ba5 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 24 Aug 2013 00:29:13 +0000 Subject: * 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". --- gdb/symmisc.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gdb/symmisc.c') 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, -- cgit v1.2.1