From 7936743b083af802de53a9483c450d917e991d46 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 10 Aug 2004 19:37:47 +0000 Subject: 2004-08-10 Andrew Cagney * utils.c (xmmalloc): Delete. (xmalloc): Inline xmmalloc and mmalloc calls. (msavestring): Use xmalloc. * defs.h (xmmalloc): Delete declaration. * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of xmmalloc. * symmisc.c (extend_psymbol_list): Ditto. * symfile.c (init_psymbol_list): Ditto. * source.c (find_source_lines): Ditto. * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto. * elfread.c (elf_symtab_read): Ditto. * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto. * coffread.c (coff_symfile_init): Ditto. --- gdb/symmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/symmisc.c') diff --git a/gdb/symmisc.c b/gdb/symmisc.c index c17bda4..6457d9c 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -1232,7 +1232,7 @@ extend_psymbol_list (struct psymbol_allocation_list *listp, { new_size = 255; listp->list = (struct partial_symbol **) - xmmalloc (objfile->md, new_size * sizeof (struct partial_symbol *)); + xmalloc (new_size * sizeof (struct partial_symbol *)); } else { -- cgit v1.1