This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: =frame-selected MI notification
>>>>> "Volodya" == Vladimir Prus <vladimir@codesourcery.com> writes:
Volodya> Furthermore, I do not think that observers for either thread or
Volodya> frame changes is good idea, design wise. The fact that gdb has
Volodya> current thread or current frame at the code level, is, IMNSHO,
Volodya> a design bug.
I agree, for the core. But, the problem in question concerns
notification about the changes to the user's view.
E.g., it wouldn't be unreasonable to want to write a Python script that
reacts to changes in the CLI's notion of frame. In this case, such an
observer would be useful and appropriate.
Tom