aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index b29b021..c145916 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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 ();