From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25245 invoked by alias); 28 May 2008 21:26:40 -0000 Received: (qmail 25230 invoked by uid 22791); 28 May 2008 21:26:39 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 May 2008 21:26:14 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5D9CC98401; Wed, 28 May 2008 21:26:13 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 48BDF9830E; Wed, 28 May 2008 21:26:13 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K1T9w-0002D7-DU; Wed, 28 May 2008 17:26:12 -0400 Date: Thu, 29 May 2008 07:55:00 -0000 From: Daniel Jacobowitz To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org Subject: Re: [RFC][patch 3/9] export hooks mechanism to Python Message-ID: <20080528212612.GC2969@caradoc.them.org> Mail-Followup-To: Thiago Jung Bauermann , gdb-patches@sourceware.org References: <20080429155212.444237503@br.ibm.com> <20080429155304.641779989@br.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080429155304.641779989@br.ibm.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00742.txt.bz2 On Tue, Apr 29, 2008 at 12:52:15PM -0300, Thiago Jung Bauermann wrote: > 2008-04-29 Tom Tromey > > * 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