aboutsummaryrefslogtreecommitdiff
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
commitaa2ee5f640b5705d29a7c4f37b3abbfd30a08620 (patch)
treed4acd2adc7c906f8ed20b07a1f846b9d074f2645 /gdb/symtab.c
parent0efffb96a98349f8305e81ec4103dacec4e59baf (diff)
downloadfsf-binutils-gdb-aa2ee5f640b5705d29a7c4f37b3abbfd30a08620.zip
fsf-binutils-gdb-aa2ee5f640b5705d29a7c4f37b3abbfd30a08620.tar.gz
fsf-binutils-gdb-aa2ee5f640b5705d29a7c4f37b3abbfd30a08620.tar.bz2
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 cd6dd5d..7684bf9 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