replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / bfd-target.c
index 4cbac2008efe926c0056d10fff56153715a3edcf..559ca635f4193831f1a4709b89957bb521e6a70d 100644 (file)
@@ -83,12 +83,12 @@ target_bfd_reopen (struct bfd *abfd)
   struct target_ops *t;
   struct target_bfd_data *data;
 
-  data = XZALLOC (struct target_bfd_data);
+  data = XCNEW (struct target_bfd_data);
   data->bfd = abfd;
   gdb_bfd_ref (abfd);
   build_section_table (abfd, &data->table.sections, &data->table.sections_end);
 
-  t = XZALLOC (struct target_ops);
+  t = XCNEW (struct target_ops);
   t->to_shortname = "bfd";
   t->to_longname = _("BFD backed target");
   t->to_doc = _("You should never see this");
This page took 0.027142 seconds and 4 git commands to generate.