This is the mail archive of the
mailing list for the GDB project.
Re: [RFC][patch 3/9] export hooks mechanism to Python
>>>>> "Daniel" == Daniel Jacobowitz <email@example.com> writes:
Daniel> What sort of events are you hooking usefully? Can we share e.g. the
Daniel> CLI "hook-" mechanism?
A lot of this code is just speculative -- based on the idea that it
would be nice to be able to write Python scripts which do things
reactively; say for instance take some action after an "attach".
(A lot of this has never even been tried.)
However internally the Python code uses events to track breakpoint
creation and destruction. I suppose I could try to add new observers
to let me do that.