From 2dc74dc1214738c22fc033d9d32eb8b4059bdba2 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 10 Aug 2004 21:52:05 +0000 Subject: 2004-08-10 Andrew Cagney * defs.h (xmfree): Delete. * utils.c (xmfree): Delete function. (xfree): Inline calls to xmfree and mfree. * symmisc.c (free_symtab_block, free_symtab): Use xfree. * symfile.c (reread_symbols, init_psymbol_list): Ditto. * source.c (forget_cached_source_info, find_and_open_source): Ditto. * somread.c (som_symfile_finish): Ditto. * objfiles.c (allocate_objfile, free_objfile): * nlmread.c (nlm_symfile_finish): Ditto. * hpread.c (hpread_symfile_finish): Ditto. * elfread.c (free_elfinfo, elf_symfile_finish): Ditto. * dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto. * coffread.c (coff_symfile_finish): Ditto. --- gdb/defs.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index c91fd6b..3f6e720 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -873,10 +873,6 @@ extern char *msavestring (void *, const char *, size_t); extern char *mstrsave (void *, const char *); -/* Robust versions of same. Throw an internal error when no memory, - guard against stray NULL arguments. */ -extern void xmfree (void *md, void *ptr); - /* xmalloc(), xrealloc() and xcalloc() have already been declared in "libiberty.h". */ extern void xfree (void *); -- cgit v1.1