[ppc64le] Use skip_entrypoint for skip_trampoline_code
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.c
index 985821ce3ee8c2cbcc68f1e254c12e99d08e3cd0..b5e1fa7baecb24a8f7161ac03e0160ab6f543dd5 100644 (file)
@@ -1403,7 +1403,7 @@ mn10300_gdbarch_init (struct gdbarch_info info,
   if (arches != NULL)
     return arches->gdbarch;
 
-  tdep = xmalloc (sizeof (struct gdbarch_tdep));
+  tdep = XNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
 
   switch (info.bfd_arch_info->mach)
This page took 0.023723 seconds and 4 git commands to generate.