diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-16 19:13:55 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-29 16:14:32 -0600 |
commit | c47614fef9fa278399e0d2818d42b73f0e0a26ec (patch) | |
tree | 14735d841ce25ca71cc9eacbc0835eaf2f66ec94 /gdb/break-catch-load.c | |
parent | b3316ff1532571a111dcc27f4545640aafbdaffd (diff) | |
download | binutils-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.c | 2 |
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; } } |