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

@@ -7833,13 +7833,13 @@ disable_breakpoints_in_freed_objfile (struct objfile *objfile)
void
init_catchpoint (struct breakpoint *b,
struct gdbarch *gdbarch, bool temp,
const char *cond_string,
const struct breakpoint_ops *ops)
const char *cond_string)
{
symtab_and_line sal;
sal.pspace = current_program_space;
init_raw_breakpoint (b, gdbarch, sal, bp_catchpoint, ops);
init_raw_breakpoint (b, gdbarch, sal, bp_catchpoint,
&vtable_breakpoint_ops);
if (cond_string == nullptr)
b->cond_string.reset ();