aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 14:58:36 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 14:58:36 -0400
commit1428b37afbd8a5199e1c4b2a53ef8700208a12d4 (patch)
treeca93ce7681b1b3436a3815f5052dae3e7d6caed3 /gdb/ada-lang.c
parent43892fdfa1aecb67d4830c47c9a40b0d74ed4c47 (diff)
downloadgdb-1428b37afbd8a5199e1c4b2a53ef8700208a12d4.zip
gdb-1428b37afbd8a5199e1c4b2a53ef8700208a12d4.tar.gz
gdb-1428b37afbd8a5199e1c4b2a53ef8700208a12d4.tar.bz2
gdb: add all_breakpoints_safe function
Same as the previous patch, but intended to replace the ALL_BREAKPOINTS_SAFE macro, which allows deleting the current breakpoint while iterating. The new range type simply wraps the range added by the previous patch with basic_safe_range. I didn't remove the ALL_BREAKPOINTS_SAFE macro, because there is one spot where it's more tricky to remove, in the check_longjmp_breakpoint_for_call_dummy function. More thought it needed for this one. gdb/ChangeLog: * breakpoint.c (breakpoint_safe_range): New. (all_breakpoints_safe): New. Use instead of ALL_BREAKPOINTS_SAFE where possible. Change-Id: Ifccab29f135e1f85700e3697ed60f0b643c7682f
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions