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


On Tue, Apr 29, 2008 at 12:52:15PM -0300, Thiago Jung Bauermann wrote:
> 2008-04-29  Tom Tromey <tromey@redhat.com>
> 
> 	* Makefile.in (SUBDIR_PYTHON_OBS): Add python-hooks.o.
> 	(SUBDIR_PYTHON_SRCS): Add python/hooks.c.
> 	(python-hooks.o): New target.
> 	* interps.c (interp_set): Don't call clear_interpreter_hooks.
> 	[Temporary hack].
> 	* python/hooks.c: New file.
> 	* python/python-internal.h (variable_to_python,
> 	gdbpy_get_hook_function, gdbpy_initialize_hooks): Declare.
> 	* python/python.c (demand_python): Call gdbpy_initialize_hooks.

I won't look at this one, as I believe Tom's rewritten it to use
observers instead.

-- 
Daniel Jacobowitz
CodeSourcery


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