Re: [RFC][patch 3/9] export hooks mechanism to Python

Tom Tromey
2008-04-30T19:58:52Z

>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> 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.

Tom