From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13028 invoked by alias); 30 Apr 2008 16:29:04 -0000 Received: (qmail 13015 invoked by uid 22791); 30 Apr 2008 16:29:04 -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, 30 Apr 2008 16:28:44 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id D0F58983DA; Wed, 30 Apr 2008 16:28:42 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id AF771982C4; Wed, 30 Apr 2008 16:28:42 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JrFAf-0000u6-Rp; Wed, 30 Apr 2008 12:28:41 -0400 Date: Wed, 30 Apr 2008 18:29: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: <20080430162841.GA3427@caradoc.them.org> Mail-Followup-To: Tom Tromey , 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: User-Agent: Mutt/1.5.17 (2007-12-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-04/txt/msg00708.txt.bz2 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. What sort of events are you hooking usefully? Can we share e.g. the CLI "hook-" mechanism? -- Daniel Jacobowitz CodeSourcery