btrace: uppercase btrace_read_type
[deliverable/binutils-gdb.git] / gdb / sparc-tdep.c
index 66ef84e9ffc6d78368c68b50485a5ed5de4d6602..38b345b888dd6a0509638f374d3397ac8b989ac9 100644 (file)
@@ -1653,7 +1653,7 @@ sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
     return arches->gdbarch;
 
   /* Allocate space for the new architecture.  */
-  tdep = XZALLOC (struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
 
   tdep->pc_regnum = SPARC32_PC_REGNUM;
This page took 0.024316 seconds and 4 git commands to generate.