Use XCNEW gdbarch_tdep
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.c
index 1e2526fa2013473b5d291efa07b114fc4f5808dc..f8dd762cf0a27d6e84c28da3021a9c7971743b9e 100644 (file)
@@ -1395,7 +1395,7 @@ mn10300_gdbarch_init (struct gdbarch_info info,
   if (arches != NULL)
     return arches->gdbarch;
 
-  tdep = XNEW (struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
 
   switch (info.bfd_arch_info->mach)
This page took 0.024227 seconds and 4 git commands to generate.