diff options
Diffstat (limited to 'gdb/m32r-tdep.c')
-rw-r--r-- | gdb/m32r-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index efea816..0ba1276 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); |