replace XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git] / gdb / spu-tdep.c
index 4d745d9ad746a0481a47d0b39f8d28b8ad7ea38b..f096a2ebbc3b2380de21e404411f48d739ed3b33 100644 (file)
@@ -2658,7 +2658,7 @@ spu_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
     }
 
   /* None found, so create a new architecture.  */
-  tdep = XCALLOC (1, struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   tdep->id = id;
   gdbarch = gdbarch_alloc (&info, tdep);
 
This page took 0.025596 seconds and 4 git commands to generate.