Bug 15697 - Unnecessary =breakpoint-modified event when hitting dprintf
Summary: Unnecessary =breakpoint-modified event when hitting dprintf
Status: RESOLVED WONTFIX
Alias: None
Product: gdb
Classification: Unclassified
Component: breakpoints (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 20:31 UTC by Marc Khouzam
Modified: 2014-06-03 18:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam 2013-06-27 20:31:11 UTC
I believe there was an agreement that it was not a good idea to send a =breakpoint-modified event each time a dprintf was hit.  When a dprintf is in a loop, these event can become quite inefficient.  Furthermore, these events are not sent when using 'agent' dprintf-style.

Please see discussion and agreement here:
http://sourceware.org/ml/gdb-patches/2013-03/msg00260.html
http://sourceware.org/ml/gdb-patches/2013-03/msg00380.html

(note that if this change is made, it would nullify Bug 15694)
Comment 1 Marc Khouzam 2014-01-10 16:24:34 UTC
I'm still worried about this =breakpoint-modified being sent every time a dprintf hits.  Sounds like excessive noise towards the frontend.
Comment 2 Marc Khouzam 2014-04-28 20:26:38 UTC
Proposed fix:
https://sourceware.org/ml/gdb-patches/2014-04/msg00601.html
Comment 3 Marc Khouzam 2014-06-03 18:09:43 UTC
It turns out that it was not the =breakpoint-modified event causing a performance degradation but the extra *running events reported by bug 15693.

I'm marking this bug as WONTFIX based on Pedro's arguments:
https://sourceware.org/ml/gdb-patches/2014-04/msg00623.html