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

Daniel Jacobowitz
2008-05-28T21:26:40Z

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