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/dbxread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/dbxread.c') diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 2f7c23a..28b0d6b 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -905,8 +905,8 @@ add_bincl_to_list (struct partial_symtab *pst, char *name, int instance) int offset = next_bincl - bincl_list; bincls_allocated *= 2; bincl_list = (struct header_file_location *) - xmrealloc (pst->objfile->md, (char *) bincl_list, - bincls_allocated * sizeof (struct header_file_location)); + xrealloc ((char *) bincl_list, + bincls_allocated * sizeof (struct header_file_location)); next_bincl = bincl_list + offset; } next_bincl->pst = pst; -- cgit v1.1