From 7a292a7adf506b866905b06b3024c0fd411c4583 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Mon, 26 Apr 1999 18:34:20 +0000 Subject: import gdb-19990422 snapshot --- gdb/symmisc.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'gdb/symmisc.c') diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 97d2f6e83cd..c615bfcdea2 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -154,8 +154,6 @@ free_symtab (s) mfree (s -> objfile -> md, (PTR) s); } -#if MAINTENANCE_CMDS - void print_symbol_bcache_statistics () { @@ -525,7 +523,7 @@ Arguments missing: an output file name and an optional symbol file name"); { nomem (0); } - cleanups = make_cleanup ((make_cleanup_func) freeargv, (char *) argv); + cleanups = make_cleanup_freeargv (argv); if (argv[0] != NULL) { @@ -762,7 +760,7 @@ maintenance_print_psymbols (args, from_tty) { nomem (0); } - cleanups = make_cleanup ((make_cleanup_func) freeargv, (char *) argv); + cleanups = make_cleanup_freeargv (argv); if (argv[0] != NULL) { @@ -910,7 +908,7 @@ maintenance_print_msymbols (args, from_tty) { nomem (0); } - cleanups = make_cleanup ((make_cleanup_func) freeargv, argv); + cleanups = make_cleanup_freeargv (argv); if (argv[0] != NULL) { @@ -1055,8 +1053,6 @@ block_depth (block) return i; } -#endif /* MAINTENANCE_CMDS */ - /* Increase the space allocated for LISTP, which is probably global_psymbols or static_psymbols. This space will eventually -- cgit v1.2.1