diff options
Diffstat (limited to 'gdb/lm32-tdep.c')
-rw-r--r-- | gdb/lm32-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/lm32-tdep.c b/gdb/lm32-tdep.c index 84ece3e..1ca6c08 100644 --- a/gdb/lm32-tdep.c +++ b/gdb/lm32-tdep.c @@ -521,7 +521,7 @@ lm32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return arches->gdbarch; /* 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); /* Type sizes. */ |