aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/expr.c
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2021-08-16 14:44:20 +0200
committerSimon Marchi <simon.marchi@polymtl.ca>2021-08-16 11:10:19 -0400
commitbd7ccaa983158e789e305f4baae245ee4975516f (patch)
treed5358844ea8df96dc4d8a1b6a2432ce881037a29 /gdb/dwarf2/expr.c
parenteb09df162bafa67abee713be594a99bd20bd6825 (diff)
downloadbinutils-bd7ccaa983158e789e305f4baae245ee4975516f.zip
binutils-bd7ccaa983158e789e305f4baae245ee4975516f.tar.gz
binutils-bd7ccaa983158e789e305f4baae245ee4975516f.tar.bz2
Notify observer of breakpoint auto-disabling
As breakpoint_modified observer is currently notified upon breakpoint stop before handling auto-disabling when enable count is reached, the observer is never notified of the disabling. The problem affects: - The MI interpreter enabled= value when reporting =breakpoint-modified - A Python event handler for breakpoint_modified using the "enabled" member of its parameter - insight: breakpoint GUI window is not properly updated upon auto-disable This patch moves the observer notification after the auto-disabling code and implements corresponding tests for the MI and Python cases. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=23336 Change-Id: I0c50df4789334071e5390cb46b3ca0d4a7f83c61
Diffstat (limited to 'gdb/dwarf2/expr.c')
0 files changed, 0 insertions, 0 deletions