summaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-10 21:16:13 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-10 21:16:13 +0000
commite0ecc1aaf3c0ba1b20951c611a292bc6b347930c (patch)
treeb468eac66133ec6d6c18bba1c63c2e6cc96b1ce6 /gdb/symtab.c
parent75e574a72ff084dc292379317a24d61f75fb54ac (diff)
downloadgdb-e0ecc1aaf3c0ba1b20951c611a292bc6b347930c.tar.gz
2004-08-10 Andrew Cagney <cagney@gnu.org>
* defs.h (xmcalloc): Delete declaration. * utils.c (xmcalloc): Delete. (xcalloc): Inline calls to xmcalloc and mcalloc. * ada-lang.c (_initialize_ada_language): Use htab_create_alloc, xcalloc and xfree. * symtab.c (create_demangled_names_hash): Ditto.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index cd6dd5dd838..7684bf9c637 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -431,9 +431,9 @@ create_demangled_names_hash (struct objfile *objfile)
Choosing a much larger table size wastes memory, and saves only about
1% in symbol reading. */
- objfile->demangled_names_hash = htab_create_alloc_ex
+ objfile->demangled_names_hash = htab_create_alloc
(256, htab_hash_string, (int (*) (const void *, const void *)) streq,
- NULL, objfile->md, xmcalloc, xmfree);
+ NULL, xcalloc, xfree);
}
/* Try to determine the demangled name for a symbol, based on the