]> Git Repo - binutils.git/blobdiff - gdb/maint.c
* symmisc.c (maintenance_check_symtabs): New function to check
[binutils.git] / gdb / maint.c
index 378ac0aaeb57b0b81ca5e2cf5b213cc434542979..d4e774846c1821cfa7f4a00c2623be3f5b8a064a 100644 (file)
@@ -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 */
 }
This page took 0.023687 seconds and 4 git commands to generate.