From 71c33ef7d4b297c9e1b11062d30d9c259fd0cb80 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Mon, 21 Mar 1994 21:14:27 +0000 Subject: * 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. --- gdb/maint.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb/maint.c') 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 */ } -- cgit v1.1