Remove breakpoint_ops from init_catchpoint

init_catchpoint is only ever passed a single breakpoint_ops pointer,
so remove the parameter.
This commit is contained in:
Tom Tromey
2022-01-16 19:05:28 -07:00
parent a48ddc0d6a
commit b3316ff153
8 changed files with 11 additions and 17 deletions

View File

@ -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;