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 Jacobowitz writes:
 > On Tue, Apr 29, 2008 at 02:07:21PM -0600, Tom Tromey wrote:
 > > A lot of this stuff is marked deprecated.  Why is that?  Is there some
 > > other approach the Python code should use instead?
 > 
 > Basically, because the main user of hooks is Insight.  Without
 > Insight, most of the code could go away.  Note "User Interface Events"
 > as the description in gdb-events.h; they're for a GUI.

Events appear to be a special kind of hook.  Currently MI uses events for
setting breakpoints.  It also uses the more general kind of hook which are
not part of gdb-events.*, e.g., deprecated_query_hook for suppressing
prompts.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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