X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fm32r-tdep.c;h=0ba12768aeef5e25a4949a9a9cd3a15f4ec37204;hb=ce6d08922f2875544f9ba461a849726ceff84528;hp=efea81666f9b40f6a7c604681ac807d9228440f2;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index efea81666f..0ba12768ae 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -917,7 +917,7 @@ m32r_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return arches->gdbarch; /* Allocate space for the new architecture. */ - tdep = XMALLOC (struct gdbarch_tdep); + tdep = XNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); set_gdbarch_read_pc (gdbarch, m32r_read_pc);