From 0efffb96a98349f8305e81ec4103dacec4e59baf Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 10 Aug 2004 20:03:32 +0000 Subject: 2004-08-10 Andrew Cagney * defs.h (xmrealloc): Delete. * utils.c (xmrealloc): Delete. (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc. * symmisc.c (extend_psymbol_list): Use xrealloc. * source.c (find_source_lines): Ditto. * hpread.c (hpread_lookup_type): Ditto. * dbxread.c (add_bincl_to_list): Ditto. --- gdb/symmisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/symmisc.c') diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 6457d9c..1d8cdc7 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -1238,8 +1238,8 @@ extend_psymbol_list (struct psymbol_allocation_list *listp, { new_size = listp->size * 2; listp->list = (struct partial_symbol **) - xmrealloc (objfile->md, (char *) listp->list, - new_size * sizeof (struct partial_symbol *)); + xrealloc ((char *) listp->list, + new_size * sizeof (struct partial_symbol *)); } /* Next assumes we only went one over. Should be good if program works correctly */ -- cgit v1.1