diff options
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r-- | gdb/break-catch-syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 63b8cd2..a4df2ce 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -433,7 +433,7 @@ create_syscall_event_catchpoint (int tempflag, VEC(int) *filter, struct syscall_catchpoint *c; struct gdbarch *gdbarch = get_current_arch (); - c = XNEW (struct syscall_catchpoint); + c = new syscall_catchpoint (); init_catchpoint (&c->base, gdbarch, tempflag, NULL, ops); c->syscalls_to_be_caught = filter; |