Use XCNEW gdbarch_tdep
[deliverable/binutils-gdb.git] / gdb / avr-tdep.c
index 3d041c619f522ac8d0d6296786adb080f6b22173..7867c2fabebbb9d2ac1351b11abb6c414bc6c555 100644 (file)
@@ -1453,7 +1453,7 @@ avr_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->call_length = call_length;
This page took 0.03636 seconds and 4 git commands to generate.