Use XCNEW gdbarch_tdep
[deliverable/binutils-gdb.git] / gdb / msp430-tdep.c
index d730e1bec4528b3986706cb28206ebf89c34d26a..7debe250a3262993b50beb4a2555f5fec3445e47 100644 (file)
@@ -944,7 +944,7 @@ msp430_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   /* None found, create a new architecture from the information
      provided.  */
-  tdep = XNEW (struct gdbarch_tdep);
+  tdep = XCNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
   tdep->elf_flags = elf_flags;
   tdep->isa = isa;
This page took 0.025187 seconds and 4 git commands to generate.