forked from Imagelibrary/binutils-gdb
Remove most fields from breakpoint_ops
At this point, all implementations of breakpoints use the vtable. So, we can now remove most function pointers from breakpoint_ops and switch to using methods directly in the callers. Only the two "static virtual" methods remain in breakpoint_ops.
This commit is contained in:
@@ -92,7 +92,7 @@ solib_catchpoint::breakpoint_hit (const struct bp_location *bl,
|
||||
|
||||
for (bp_location *other_bl : other->locations ())
|
||||
{
|
||||
if (other->ops->breakpoint_hit (other_bl, aspace, bp_addr, ws))
|
||||
if (other->breakpoint_hit (other_bl, aspace, bp_addr, ws))
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user