aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
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/doc/gdb.texinfo
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/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7bb99c6..dc5aca0 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9031,14 +9031,14 @@ required for each object file from which @value{GDBN} has read some symbols.
@xref{Files, ,Commands to specify files}, for a discussion of how
@value{GDBN} reads symbols (in the description of @code{symbol-file}).
-@kindex maint list symtabs
-@kindex maint list psymtabs
+@kindex maint info symtabs
+@kindex maint info psymtabs
@cindex listing @value{GDBN}'s internal symbol tables
@cindex symbol tables, listing @value{GDBN}'s internal
@cindex full symbol tables, listing @value{GDBN}'s internal
@cindex partial symbol tables, listing @value{GDBN}'s internal
-@item maint list symtabs @r{[} @var{regexp} @r{]}
-@itemx maint list psymtabs @r{[} @var{regexp} @r{]}
+@item maint info symtabs @r{[} @var{regexp} @r{]}
+@itemx maint info psymtabs @r{[} @var{regexp} @r{]}
List the @code{struct symtab} or @code{struct partial_symtab}
structures whose names match @var{regexp}. If @var{regexp} is not
@@ -9047,7 +9047,7 @@ copy into a @value{GDBN} debugging this one to examine a particular
structure in more detail. For example:
@smallexample
-(@value{GDBP}) maint list psymtabs dwarf2read
+(@value{GDBP}) maint info psymtabs dwarf2read
@{ objfile /home/gnu/build/gdb/gdb
((struct objfile *) 0x82e69d0)
@{ psymtab /home/gnu/src/gdb/dwarf2read.c
@@ -9060,7 +9060,7 @@ structure in more detail. For example:
dependencies (none)
@}
@}
-(@value{GDBP}) maint list symtabs
+(@value{GDBP}) maint info symtabs
(@value{GDBP})
@end smallexample
@noindent
@@ -9074,7 +9074,7 @@ read the symtab for the compilation unit containing that function:
(@value{GDBP}) break dwarf2_psymtab_to_symtab
Breakpoint 1 at 0x814e5da: file /home/gnu/src/gdb/dwarf2read.c,
line 1574.
-(@value{GDBP}) maint list symtabs
+(@value{GDBP}) maint info symtabs
@{ objfile /home/gnu/build/gdb/gdb
((struct objfile *) 0x82e69d0)
@{ symtab /home/gnu/src/gdb/dwarf2read.c