target: add to_record_stop_replaying target method
[deliverable/binutils-gdb.git] / gdb / m32c-tdep.c
index 60b5cfb6420879f2dade14a2b318f39741e942e3..3be74057a51d2ccca56fdc2dcdac1ceb0b43774c 100644 (file)
@@ -2638,7 +2638,7 @@ m32c_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
        arches = gdbarch_list_lookup_by_info (arches->next, &info))
     return arches->gdbarch;
 
-  tdep = xcalloc (1, sizeof (*tdep));
+  tdep = XCNEW (struct gdbarch_tdep);
   arch = gdbarch_alloc (&info, tdep);
 
   /* Essential types.  */
This page took 0.023997 seconds and 4 git commands to generate.