This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]