aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-05-07 21:42:48 +0000
committerJim Blandy <jimb@codesourcery.com>2003-05-07 21:42:48 +0000
commit5e7b2f395e15e56128304feae9921f9b9a024ea5 (patch)
tree2897f9d464027bfd54b70def583d4f0540e94ce1 /gdb/symmisc.c
parenteafaf5ebda301c16b73c76bd72c6168a8948f46d (diff)
downloadgdb-5e7b2f395e15e56128304feae9921f9b9a024ea5.zip
gdb-5e7b2f395e15e56128304feae9921f9b9a024ea5.tar.gz
gdb-5e7b2f395e15e56128304feae9921f9b9a024ea5.tar.bz2
gdb/ChangeLog:
Rename commands 'maint list symtabs' and 'maint list psymtabs' to 'maint info symtabs' and 'maint info psymtabs'. * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): Declarations updated. * maint.c (maintenance_list_command): Delete. (_initialize_maint_cmds): Update calls to add_cmd. * gdbcmd.h (maintenancelistlist): Delete declaration. * cli/cli-cmds.c (maintenancelistlist): Delete. (init_cmd_lists): Don't initialize it. * cli/cli-cmds.h (maintenancelistlist): Delete declaration. gdb/doc/ChangeLog: * gdb.texinfo (Symbols): Update documentation: 'maint list symtabs' and 'maint list psymtabs' have been renamed 'maint info symtabs' and 'maint info psymtabs'.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 70eb125..636b1d9 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -987,9 +987,9 @@ maintenance_print_objfiles (char *ignore, int from_tty)
}
-/* List all the symbol tables. */
+/* List all the symbol tables whose names match REGEXP (optional). */
void
-maintenance_list_symtabs (char *regexp, int from_tty)
+maintenance_info_symtabs (char *regexp, int from_tty)
{
struct objfile *objfile;
@@ -1036,9 +1036,9 @@ maintenance_list_symtabs (char *regexp, int from_tty)
}
-/* List all the partial symbol tables. */
+/* List all the partial symbol tables whose names match REGEXP (optional). */
void
-maintenance_list_psymtabs (char *regexp, int from_tty)
+maintenance_info_psymtabs (char *regexp, int from_tty)
{
struct objfile *objfile;