sorry for the delay. I've I've been staring at this series for a while,
and I'll have comments to make in the individual patches. But one general
concern came to me. There doesn't seem to be any order guarantee
between the different notifications. IOW, considering the trace-stopped
notification you proposed in a follow-up series. if a given thread
is tracing/running, and it stops tracing, and then hits another event
that should be reported too (e.g., a stop event - breakpoint/signal/etc.),
GDB could see the events as either:
#1 - trace stopped
#2 - thread stopped
or:
#a - thread stopped
#b - trace stopped
Is that so? I was trying to convince myself that is okay both
in this particular case and in general, but I'm not really sure.
It sounds like one of those things that might byte back. I'd like to
hear your (and others', of course) thoughts on this.