diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-16 19:05:28 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-29 16:14:32 -0600 |
commit | b3316ff1532571a111dcc27f4545640aafbdaffd (patch) | |
tree | a9f7cb28ff3f4bb280ce05425277c0c32f35c506 /gdb/break-catch-syscall.c | |
parent | a48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (diff) | |
download | binutils-b3316ff1532571a111dcc27f4545640aafbdaffd.zip binutils-b3316ff1532571a111dcc27f4545640aafbdaffd.tar.gz binutils-b3316ff1532571a111dcc27f4545640aafbdaffd.tar.bz2 |
Remove breakpoint_ops from init_catchpoint
init_catchpoint is only ever passed a single breakpoint_ops pointer,
so remove the parameter.
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r-- | gdb/break-catch-syscall.c | 3 |
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); |