aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r--gdb/break-catch-syscall.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c
index 2566a20..3b160bf 100644
--- a/gdb/break-catch-syscall.c
+++ b/gdb/break-catch-syscall.c
@@ -348,8 +348,7 @@ create_syscall_event_catchpoint (int tempflag, std::vector<int> &&filter)
struct gdbarch *gdbarch = get_current_arch ();
std::unique_ptr<syscall_catchpoint> c (new syscall_catchpoint ());
- init_catchpoint (c.get (), gdbarch, tempflag, nullptr,
- &vtable_breakpoint_ops);
+ init_catchpoint (c.get (), gdbarch, tempflag, nullptr);
c->syscalls_to_be_caught = std::move (filter);
install_breakpoint (0, std::move (c), 1);