From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14070 invoked by alias); 8 Apr 2010 20:41:01 -0000 Received: (qmail 14062 invoked by uid 22791); 8 Apr 2010 20:41:00 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Apr 2010 20:40:54 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o38KeTUB028707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 8 Apr 2010 16:40:29 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o38KeSBA013420; Thu, 8 Apr 2010 16:40:28 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o38KeRVc016534; Thu, 8 Apr 2010 16:40:28 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 3175C378887; Thu, 8 Apr 2010 14:40:27 -0600 (MDT) From: Tom Tromey To: Phil Muldoon Cc: Joel Brobecker , gdb-patches ml , Eli Zaretskii Subject: Re: [patch][python] Add breakpoint support. References: <4BB0B063.6000600@redhat.com> <20100405162648.GD19194@adacore.com> <4BBB3AF6.8050407@redhat.com> <4BBDCF0E.9020904@redhat.com> <20100408152905.GK19194@adacore.com> <4BBE32FF.8090508@redhat.com> Reply-To: Tom Tromey Date: Thu, 08 Apr 2010 20:41:00 -0000 In-Reply-To: <4BBE32FF.8090508@redhat.com> (Phil Muldoon's message of "Thu, 08 Apr 2010 20:48:15 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-04/txt/msg00191.txt.bz2 >>>>> "Phil" == Phil Muldoon writes: Phil> There is a save_breakpoints.py script in the archer repository Phil> already, so a lot of the work is done. I have a patch to modify that Phil> to save watchpoints too. I've not ported it here today as I purely Phil> want to concentrate on the API aspect of porting. But there is really Phil> no reason why it can't go in immediately as part of another porting Phil> effort. I think it would need some make/configure hackery to install, Phil> which is definitely my weakest area. I can help with that if you want. I think the more difficult problem is deciding how users should activate commands written in Python. Right now for Archer we have this "require" thing, but that seems like kind of a hack. OTOH, loading all the commands at startup also seems weird. It will make startup slower, for one thing. Maybe we could implement some kind of auto-loading? Tom