diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-04-14 18:42:28 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-04-14 18:42:28 +0000 |
commit | 44ea7b70f90e6f139269b8210568fd08f3dd4fbe (patch) | |
tree | b619e7a0d1486a58edc19a067a2db5199d131ef3 /gdb/cli/cli-cmds.c | |
parent | daf7c4ad3aecfa9c617bfae6950bb0b5782e6edd (diff) | |
download | gdb-44ea7b70f90e6f139269b8210568fd08f3dd4fbe.zip gdb-44ea7b70f90e6f139269b8210568fd08f3dd4fbe.tar.gz gdb-44ea7b70f90e6f139269b8210568fd08f3dd4fbe.tar.bz2 |
gdb/ChangeLog:
2003-04-10 Jim Blandy <jimb@redhat.com>
* symmisc.c: #include "gdb_regex.h".
(maintenance_list_symtabs, maintenance_list_psymtabs): New
functions.
* maint.c (maintenance_list_command): New function.
(_initialize_maint_cmds): Register the above as commands.
* symtab.h (maintenance_list_symtabs,
maintenance_list_psymtabs): New declarations.
* cli/cli-cmds.c (maintenancelistlist): New variable.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (maintenancelistlist): New declaration.
* gdbcmd.h (maintenancelistlist): New declaration.
* Makefile.in (symmisc.o): Update dependencies.
gdb/doc/ChangeLog:
2003-04-09 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint
list psymtabs'.
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-rw-r--r-- | gdb/cli/cli-cmds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 108329a..c33c242 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -171,6 +171,10 @@ struct cmd_list_element *maintenanceinfolist; struct cmd_list_element *maintenanceprintlist; +/* Chain containing all defined "maintenance list" subcommands. */ + +struct cmd_list_element *maintenancelistlist; + struct cmd_list_element *setprintlist; struct cmd_list_element *showprintlist; @@ -1032,6 +1036,7 @@ init_cmd_lists (void) maintenancelist = NULL; maintenanceinfolist = NULL; maintenanceprintlist = NULL; + maintenancelistlist = NULL; setprintlist = NULL; showprintlist = NULL; setchecklist = NULL; |