Convert ordinary breakpoints to vtable ops

This converts "ordinary" breakpoint to use vtable_breakpoint_ops.
Recall that an ordinary breakpoint is both the kind normally created
by users, and also a base class used by other classes.
This commit is contained in:
Tom Tromey 2022-01-15 15:46:54 -07:00
parent 5ad71d67ae
commit 7dd8e7ae28
5 changed files with 45 additions and 59 deletions

View file

@ -305,7 +305,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
bp_breakpoint,
0,
AUTO_BOOLEAN_TRUE,
&bkpt_breakpoint_ops,
&vtable_breakpoint_ops,
0, 1, internal_bp, 0);
}
catch (const gdb_exception &except)