Use XCNEW gdbarch_tdep
[deliverable/binutils-gdb.git] / gdb / mips-tdep.c
index 2f5a90be46b568826dc44cad7d8935afa1794cd1..82f91ba2cd950c5f48f8f408f645ea49e952ef29 100644 (file)
@@ -8492,7 +8492,7 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
     }
 
   /* Need a new architecture.  Fill in a target specific vector.  */
-  tdep = XNEW (struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
   tdep->elf_flags = elf_flags;
   tdep->mips64_transfers_32bit_regs_p = mips64_transfers_32bit_regs_p;
This page took 0.024765 seconds and 4 git commands to generate.