replace XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git] / gdb / i386-tdep.c
index 9d1d9e0ad5611b799a3cab1f9df36c9f5896534f..4a5f652b168d79facacf9dbec413620a38f612a5 100644 (file)
@@ -7819,7 +7819,7 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
     return arches->gdbarch;
 
   /* Allocate space for the new architecture.  */
-  tdep = XCALLOC (1, struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
 
   /* General-purpose registers.  */
This page took 0.024532 seconds and 4 git commands to generate.