Add target_ops argument to to_info_record
[deliverable/binutils-gdb.git] / gdb / mt-tdep.c
index 2072528c899ff1bd36421258ed5cdb93671d45fc..e3786e815ea8afb8dfd64e0095d52a4510a22055 100644 (file)
@@ -1149,7 +1149,7 @@ mt_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   /* None found, create a new architecture from the information
      provided.  */
-  tdep = XCALLOC (1, struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
 
   set_gdbarch_float_format (gdbarch, floatformats_ieee_single);
This page took 0.023836 seconds and 4 git commands to generate.