I'm still hesitant about the -break-modified event in that case
though. I believe the event is triggered because the hit count
has changed. For a normal bp, it makes sense to have this event
in this case, since execution has stopped and only a single
event will be seen (not exactly true for non-stop, but still
makes sense, I think). However, for dprintf which is meant to
let the inferior continue to run, there could be quite many
hit events very quickly. Since we already have some feeback
that the dprintf has hit through the actual printf string, I'm
leaning towards not having that event for dprintf hits.
Furthermore, this event is not being sent when using dprintf-style
"agent" anyway.
I also saw that conditions are now properly respected for dprintf-style
"gdb" and "call". That is great. Conditions are still not respected for
style "agent" but that is a separate issue I believe (PR 15180).