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

@@ -204,8 +204,7 @@ catch_exec_command_1 (const char *arg, int from_tty,
error (_("Junk at end of arguments."));
std::unique_ptr<exec_catchpoint> c (new exec_catchpoint ());
init_catchpoint (c.get (), gdbarch, temp, cond_string,
&vtable_breakpoint_ops);
init_catchpoint (c.get (), gdbarch, temp, cond_string);
c->exec_pathname.reset ();
install_breakpoint (0, std::move (c), 1);