aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-load.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-16 19:13:55 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:32 -0600
commitc47614fef9fa278399e0d2818d42b73f0e0a26ec (patch)
tree14735d841ce25ca71cc9eacbc0835eaf2f66ec94 /gdb/break-catch-load.c
parentb3316ff1532571a111dcc27f4545640aafbdaffd (diff)
downloadbinutils-c47614fef9fa278399e0d2818d42b73f0e0a26ec.zip
binutils-c47614fef9fa278399e0d2818d42b73f0e0a26ec.tar.gz
binutils-c47614fef9fa278399e0d2818d42b73f0e0a26ec.tar.bz2
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.
Diffstat (limited to 'gdb/break-catch-load.c')
-rw-r--r--gdb/break-catch-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c
index 699fbc1..7c92739 100644
--- a/gdb/break-catch-load.c
+++ b/gdb/break-catch-load.c
@@ -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;
}
}