aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/aarch64-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/aarch64-linux.c b/gdb/nat/aarch64-linux.c
index 2616c8a..f9a95bb 100644
--- a/gdb/nat/aarch64-linux.c
+++ b/gdb/nat/aarch64-linux.c
@@ -76,7 +76,7 @@ aarch64_linux_new_thread (struct lwp_info *lwp)
ptid_t ptid = ptid_of_lwp (lwp);
struct aarch64_debug_reg_state *state
= aarch64_get_debug_reg_state (ptid.pid ());
- struct arch_lwp_info *info = XNEW (struct arch_lwp_info);
+ struct arch_lwp_info *info = XCNEW (struct arch_lwp_info);
/* If there are hardware breakpoints/watchpoints in the process then mark that
all the hardware breakpoint/watchpoint register pairs for this thread need