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-fork.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-fork.c')
-rw-r--r-- | gdb/break-catch-fork.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/break-catch-fork.c b/gdb/break-catch-fork.c index 5af5aac..eb88e78 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; |