diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-10 21:16:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-10 21:16:13 +0000 |
commit | aa2ee5f640b5705d29a7c4f37b3abbfd30a08620 (patch) | |
tree | d4acd2adc7c906f8ed20b07a1f846b9d074f2645 /gdb/ada-lang.c | |
parent | 0efffb96a98349f8305e81ec4103dacec4e59baf (diff) | |
download | gdb-aa2ee5f640b5705d29a7c4f37b3abbfd30a08620.zip gdb-aa2ee5f640b5705d29a7c4f37b3abbfd30a08620.tar.gz 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/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 2a83d85..1bb3ca0 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -10261,9 +10261,9 @@ Show the maximum number of bytes allowed in a dynamic-sized object.", obstack_init (&symbol_list_obstack); - decoded_names_store = htab_create_alloc_ex + decoded_names_store = htab_create_alloc (256, htab_hash_string, (int (*)(const void *, const void *)) streq, - NULL, NULL, xmcalloc, xmfree); + NULL, xcalloc, xfree); } /* Create a fundamental Ada type using default reasonable for the current |