From db68bbae94107a8019ec2473cc96a87554205620 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/ChangeLog | 5 +++++ gdb/symmisc.c | 11 +++-------- 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 + * 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, -- cgit v1.1