]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/hppa-tdep.c
replace XZALLOC with XCNEW
[thirdparty/binutils-gdb.git] / gdb / hppa-tdep.c
index 68ec9cf39fb53aa62a90e494db77d3c487e2bbb0..53b6c950a4414b658396212c9e23febe3875ac82 100644 (file)
@@ -2997,7 +2997,7 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
     return (arches->gdbarch);
 
   /* If none found, then allocate and initialize one.  */
-  tdep = XZALLOC (struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
 
   /* Determine from the bfd_arch_info structure if we are dealing with