summaryrefslogtreecommitdiff
path: root/gdb/break-catch-fork.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-16 19:05:28 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:32 -0600
commitb3316ff1532571a111dcc27f4545640aafbdaffd (patch)
treea9f7cb28ff3f4bb280ce05425277c0c32f35c506 /gdb/break-catch-fork.c
parenta48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (diff)
downloadbinutils-gdb-b3316ff1532571a111dcc27f4545640aafbdaffd.tar.gz
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-fork.c')
-rw-r--r--gdb/break-catch-fork.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/break-catch-fork.c b/gdb/break-catch-fork.c
index 5af5aac9d98..eb88e78ed3a 100644
--- a/gdb/break-catch-fork.c
+++ b/gdb/break-catch-fork.c
@@ -182,8 +182,7 @@ create_fork_vfork_event_catchpoint (struct gdbarch *gdbarch,
{
std::unique_ptr<fork_catchpoint> c (new fork_catchpoint ());
- init_catchpoint (c.get (), gdbarch, temp, cond_string,
- &vtable_breakpoint_ops);
+ init_catchpoint (c.get (), gdbarch, temp, cond_string);
c->is_vfork = is_vfork;
c->forked_inferior_pid = null_ptid;