btrace: split record_btrace_step_thread
[deliverable/binutils-gdb.git] / gdb / msp430-tdep.c
index 622ce552040f5af90eeba9720474cf32bc21c6d3..56276aff298f6d480898c562a7f44080c1fde551 100644 (file)
@@ -951,7 +951,7 @@ msp430_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   /* None found, create a new architecture from the information
      provided.  */
-  tdep = (struct gdbarch_tdep *) xmalloc (sizeof (struct gdbarch_tdep));
+  tdep = XNEW (struct gdbarch_tdep);
   gdbarch = gdbarch_alloc (&info, tdep);
   tdep->elf_flags = elf_flags;
   tdep->isa = isa;
This page took 0.023966 seconds and 4 git commands to generate.