target: add to_record_stop_replaying target method
[deliverable/binutils-gdb.git] / gdb / rl78-tdep.c
index a5861d82611921ba1ff04a1f10bd7c7c989f24e2..0f8790fa8a8db5d50d4e6e3e114ff4d05de4fe9d 100644 (file)
@@ -1396,7 +1396,7 @@ rl78_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;
 
This page took 0.023816 seconds and 4 git commands to generate.