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:
parent
a48ddc0d6a
commit
b3316ff153
8 changed files with 11 additions and 17 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue