X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdbxread.c;h=2f7c23ad4e58ae73e7e17a0eb19a0e83621e3c41;hb=7936743b083af802de53a9483c450d917e991d46;hp=8b1286fff72ebb88a2299b44bc16c1aab11e9c10;hpb=902f2ccb3d3c265dfd20a64f35839df9a6c7655a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 8b1286fff7..2f7c23ad4e 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -625,7 +625,7 @@ dbx_symfile_init (struct objfile *objfile) /* Allocate struct to keep track of the symfile */ objfile->sym_stab_info = (struct dbx_symfile_info *) - xmmalloc (objfile->md, sizeof (struct dbx_symfile_info)); + xmalloc (sizeof (struct dbx_symfile_info)); memset (objfile->sym_stab_info, 0, sizeof (struct dbx_symfile_info)); DBX_TEXT_SECTION (objfile) = bfd_get_section_by_name (sym_bfd, ".text"); @@ -892,7 +892,7 @@ init_bincl_list (int number, struct objfile *objfile) { bincls_allocated = number; next_bincl = bincl_list = (struct header_file_location *) - xmmalloc (objfile->md, bincls_allocated * sizeof (struct header_file_location)); + xmalloc (bincls_allocated * sizeof (struct header_file_location)); } /* Add a bincl to the list. */