From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1377 invoked by alias); 16 Jun 2008 01:42:42 -0000 Received: (qmail 1369 invoked by uid 22791); 16 Jun 2008 01:42:41 -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; Mon, 16 Jun 2008 01:42:22 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A22749840B; Mon, 16 Jun 2008 01:42:20 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 6508998011; Mon, 16 Jun 2008 01:42:20 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K83jf-0002bn-NH; Sun, 15 Jun 2008 21:42:19 -0400 Date: Mon, 16 Jun 2008 03:22:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Thiago Jung Bauermann , gdb-patches@sourceware.org Subject: Re: [RFC][patch 3/9] export hooks mechanism to Python Message-ID: <20080616014219.GA9913@caradoc.them.org> Mail-Followup-To: Tom Tromey , Thiago Jung Bauermann , gdb-patches@sourceware.org References: <20080615183110.xi9zc6qx2iokwwsg@imap.linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-06/txt/msg00300.txt.bz2 On Sun, Jun 15, 2008 at 04:35:19PM -0600, Tom Tromey wrote: > Funnily enough I was just thinking about this code today. > In particular I was wondering if we ought to expose observers to > Python more directly -- say by having a generic way for a Python > object to register with a given observer. I don't think that's a good idea; it ties the Python exposed interfaces too closely to GDB's internal interfaces. I don't want hacking on GDB to break Python programs unexpectedly. -- Daniel Jacobowitz CodeSourcery