diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-03-21 21:14:27 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-03-21 21:14:27 +0000 |
commit | 71c33ef7d4b297c9e1b11062d30d9c259fd0cb80 (patch) | |
tree | 101e1a0add3cf666464b4aaddc5e9cc23043ecd7 | |
parent | 72bba93b85e2e8c887df447c4237d0e7c21d07d8 (diff) | |
download | gdb-71c33ef7d4b297c9e1b11062d30d9c259fd0cb80.zip gdb-71c33ef7d4b297c9e1b11062d30d9c259fd0cb80.tar.gz gdb-71c33ef7d4b297c9e1b11062d30d9c259fd0cb80.tar.bz2 |
* symmisc.c (maintenance_check_symtabs): New function to check
consistency of psymtabs and symtabs.
* symtab.h (maintenance_check_symtabs): Add prototype.
* maint.c: Add new `maint check-symtabs' command.
-rw-r--r-- | gdb/maint.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/maint.c b/gdb/maint.c index 378ac0a..d4e7748 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -1,5 +1,5 @@ /* Support for GDB maintenance commands. - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. Written by Fred Fish at Cygnus Support. This file is part of GDB. @@ -287,5 +287,9 @@ If a SOURCE file is specified, dump only that file's partial symbols.", add_cmd ("objfiles", class_maintenance, maintenance_print_objfiles, "Print dump of current object file definitions.", &maintenanceprintlist); + + add_cmd ("check-symtabs", class_maintenance, maintenance_check_symtabs, + "Check consistency of psymtabs and symtabs.", + &maintenancelist); #endif /* MAINTENANCE_CMDS */ } |