mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 08:38:10 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user