From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29044 invoked by alias); 13 Aug 2005 01:15:56 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29035 invoked by uid 22791); 13 Aug 2005 01:15:52 -0000 Received: from eastrmmtao01.cox.net (HELO eastrmmtao01.cox.net) (68.230.240.38) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 13 Aug 2005 01:15:52 +0000 Received: from white ([68.9.64.121]) by eastrmmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050813011547.JPPP23921.eastrmmtao01.cox.net@white>; Fri, 12 Aug 2005 21:15:47 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1E3kcg-0003OQ-00; Fri, 12 Aug 2005 21:15:42 -0400 Date: Sat, 13 Aug 2005 05:04:00 -0000 From: Bob Rossi To: Jim Ingham Cc: gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: RFC: MI output during program execution Message-ID: <20050813011542.GC11892@white> Mail-Followup-To: Jim Ingham , gdb-patches@sources.redhat.com, Eli Zaretskii References: <20050809181311.GB3012@white> <20050809223421.GB3557@white> <20050810004128.GA4264@nevyn.them.org> <20050810004826.GD3557@white> <2040BEEA-4200-4118-91EB-D093ED4D37A1@apple.com> <20050812012810.GA10011@white> <29EA180F-E3C7-4D04-B500-655391EDA2D9@apple.com> <20050813002230.GA11892@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-SW-Source: 2005-08/txt/msg00151.txt.bz2 On Fri, Aug 12, 2005 at 05:33:25PM -0700, Jim Ingham wrote: > >OK, unfortunatly, I'm still trying to catch up here. I think I > >understand the observer approach, however, what is the event approach? > >Is that different than the "hooks" you have? > > So it LOOKS like the "events" are supposed to be the replacements for > the hooks... > > But then there's the whole observer thing, which from what I read of > the gdb-patches traffic at the time was supposed to be a more general > solution for watching interesting events. But it doesn't seem to be > used all that much. > > So I am not really sure what's supposed to be happening here. > > Moving from hooks to events seems a trivial formal exercise. I don't > know if they will get deprecated soon or what, however... Jim thanks for all the help! Really. Can anyone reliable answer if hooks or events are supposed to be used in the future for GDB? if neither of these, is there another approach? If there is no approach that the core GDB developers prefer, or know that are already in place, we are free to choose from any approach. Bob Rossi