diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-14 18:42:13 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-29 16:14:30 -0600 |
commit | 4c6a92b11dd1aff9b071a245a21b61e6b25c8dec (patch) | |
tree | c1787044ebc03244fa156eef7c279bc8fb284aa4 /gdb/break-catch-exec.c | |
parent | c01e038bd26d36e56ab290ddf1458d4236b2e4c3 (diff) | |
download | gdb-4c6a92b11dd1aff9b071a245a21b61e6b25c8dec.zip gdb-4c6a92b11dd1aff9b071a245a21b61e6b25c8dec.tar.gz gdb-4c6a92b11dd1aff9b071a245a21b61e6b25c8dec.tar.bz2 |
Add a vtable-based breakpoint ops
This adds methods to struct breakpoint. Each method has a similar
signature to a corresponding function in breakpoint_ops, with the
exceptions of create_sals_from_location and create_breakpoints_sal,
which can't be virtual methods on breakpoint -- they are only used
during the construction of breakpoints.
Then, this adds a new vtable_breakpoint_ops structure and populates it
with functions that simply forward a call from breakpoint_ops to the
corresponding virtual method. These are all done with lambdas,
because they are just a stepping stone -- by the end of the series,
this structure will be deleted.
Diffstat (limited to 'gdb/break-catch-exec.c')
0 files changed, 0 insertions, 0 deletions