target, record: add PTID argument to to_record_is_replaying
[deliverable/binutils-gdb.git] / gdb / tic6x-tdep.c
index 3fc56423fff05e467d7d495d6129af40403eae19..2cc38c5de3f8d5f4b8e273ada4992138854e3f66 100644 (file)
@@ -1268,7 +1268,7 @@ tic6x_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
        return arches->gdbarch;
     }
 
-  tdep = xcalloc (1, sizeof (struct gdbarch_tdep));
+  tdep = XCNEW (struct gdbarch_tdep);
 
   tdep->has_gp = has_gp;
   gdbarch = gdbarch_alloc (&info, tdep);
This page took 0.022941 seconds and 4 git commands to generate.