From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29239 invoked by alias); 31 Jul 2007 20:13:19 -0000 Received: (qmail 29230 invoked by uid 22791); 31 Jul 2007 20:13:18 -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; Tue, 31 Jul 2007 20:13:13 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 2F0AD982A3; Tue, 31 Jul 2007 20:13: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 F18B798299; Tue, 31 Jul 2007 20:13:12 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IFy5e-0002XS-Fy; Tue, 31 Jul 2007 16:13:10 -0400 Date: Tue, 31 Jul 2007 20:38:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Masatake YAMATO , gdb-patches@sourceware.org Subject: Re: To know the stopped reason from hook-stop Message-ID: <20070731201310.GA9743@caradoc.them.org> Mail-Followup-To: Jim Blandy , Masatake YAMATO , gdb-patches@sourceware.org References: <20070731.223548.76561387.yamato@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-07/txt/msg00339.txt.bz2 On Tue, Jul 31, 2007 at 12:18:05PM -0700, Jim Blandy wrote: > It's painful to watch people wrestle GDB's scripting language into > doing something useful. If Daniel's patch to add Python as a > scripting language for GDB were in the public sources, then I could > say, "Don't worry about trying to fix GDB's horrible scripting > language, provide this data to Python." I'm sure that's the better > investment. > > At the same time, I don't want to make the mistake of saying, "Oh, no, > let's not commit that improvement, something much better is coming > along real soon now" when there are no specific plans for the much > better thing's arrival. > > Daniel, have you had time to work on that patch since we last talked > about it? I just started work on it again Sunday. I'll try to make some more time for it soon. I'm afraid I really don't like this patch. Adding magic numbers is the only reasonable thing we can do in the existing CLI, but it is arcane and hard to work with. Once there's a better language in place, we can be a lot more flexible. (My scripting tree also has some patches to make using strings for this sort of thing easier.) -- Daniel Jacobowitz CodeSourcery