aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-10 21:52:05 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-10 21:52:05 +0000
commit2dc74dc1214738c22fc033d9d32eb8b4059bdba2 (patch)
tree7972274ddfa63de8b40654a06bb67e1160d224e6 /gdb/dbxread.c
parentaa2ee5f640b5705d29a7c4f37b3abbfd30a08620 (diff)
downloadgdb-2dc74dc1214738c22fc033d9d32eb8b4059bdba2.zip
gdb-2dc74dc1214738c22fc033d9d32eb8b4059bdba2.tar.gz
gdb-2dc74dc1214738c22fc033d9d32eb8b4059bdba2.tar.bz2
2004-08-10 Andrew Cagney <cagney@gnu.org>
* 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.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 28b0d6b..e537744 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -748,7 +748,7 @@ dbx_symfile_finish (struct objfile *objfile)
}
xfree (hfiles);
}
- xmfree (objfile->md, objfile->sym_stab_info);
+ xfree (objfile->sym_stab_info);
}
free_header_files ();
}
@@ -937,7 +937,7 @@ find_corresponding_bincl_psymtab (char *name, int instance)
static void
free_bincl_list (struct objfile *objfile)
{
- xmfree (objfile->md, bincl_list);
+ xfree (bincl_list);
bincls_allocated = 0;
}