This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH:MI] Event notification
> > How about conditioning it so that it only fires when the target isn't
> > running, e.g., with the up, down, frame, -stack-select-frame etc commands?
>
> It's not about when the target is running. Consider updating varobjs;
> for every varobj with an associated frame, we will select the frame
> and it will pass through select_frame.
Perhaps the answer then is to put notification explicitly in each CLI and MI
command (as I've proposed for thread_command and mi_cmd_thread_select).
However, it's always possible to just issue -stack-info-frame after execution
has stopped and maybe that's never expensive enough to justify such a brute
force approach.
--
Nick http://www.inet.net.nz/~nickrob