summaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>1999-04-26 18:23:13 +0000
committerStan Shebs <shebs@apple.com>1999-04-26 18:23:13 +0000
commit9f89d263d1c0db98f6807281138f97f197f82bce (patch)
tree7f9b131d895f0b5f3d54b6348e12c7c35be93e93 /gdb/symmisc.c
parent33573d8115710d3d6f407968b4420282e0422bbc (diff)
downloadgdb-9f89d263d1c0db98f6807281138f97f197f82bce.tar.gz
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c10
1 files changed, 3 insertions, 7 deletions
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