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

@ -12206,7 +12206,7 @@ re_set_exception (struct breakpoint *b)
/* Call the base class's method. This updates the catchpoint's
locations. */
bkpt_breakpoint_ops.re_set (b);
b->re_set ();
/* Reparse the exception conditional expressions. One for each
location. */
@ -13891,7 +13891,7 @@ initialize_ada_catchpoint_ops (void)
initialize_breakpoint_ops ();
ops = &catch_exception_breakpoint_ops;
*ops = bkpt_breakpoint_ops;
*ops = vtable_breakpoint_ops;
ops->allocate_location = allocate_location_exception;
ops->re_set = re_set_exception;
ops->check_status = check_status_exception;