Discussion:
[Bug breakpoints/23336] New: notify observer misses auto-disable after "enable count"
patrick at monnerat dot net
2018-06-25 06:28:45 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23336

Bug ID: 23336
Summary: notify observer misses auto-disable after "enable
count"
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: patrick at monnerat dot net
Target Milestone: ---

Created attachment 11098
--> https://sourceware.org/bugzilla/attachment.cgi?id=11098&action=edit
Call observer after auto-disabling

Since the observer is called before processing the disp_disable disposition, it
is never called after the breakpoint automatically gets disabled.

The attached patch fixes this problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-06-25 14:20:17 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23336

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Thanks for the patch.

Patches should be submitted to the mailing list.
See the contribution instructions:
https://sourceware.org/gdb/wiki/ContributionChecklist
--
You are receiving this mail because:
You are on the CC list for the bug.
patrick at monnerat dot net
2018-06-25 17:20:05 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23336

--- Comment #2 from Patrick Monnerat <patrick at monnerat dot net> ---
Post by tromey at sourceware dot org
Patches should be submitted to the mailing list.
Thanks for the info. The patch was included here more as an help to identify
the problem rather than a real patch. Would you consider this bug anyway or do
I have to send a properly formatted patch to the list ?

Maybe I should request FSF future assignment, since I do have some more gdb
patches to propose.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...