forked from Imagelibrary/binutils-gdb
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user