From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13764 invoked by alias); 18 Apr 2007 10:38:59 -0000 Received: (qmail 13756 invoked by uid 22791); 18 Apr 2007 10:38:59 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Apr 2007 11:38:56 +0100 Received: from farnswood.snap.net.nz (78.62.255.123.dynamic.snap.net.nz [123.255.62.78]) by viper.snap.net.nz (Postfix) with ESMTP id 858BF3D9F19; Wed, 18 Apr 2007 22:38:53 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 6C206627ED; Wed, 18 Apr 2007 11:36:38 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17957.62645.824183.252961@farnswood.snap.net.nz> Date: Wed, 18 Apr 2007 10:38:00 -0000 To: Dodji Seketeli Cc: GDB Discuss Subject: Re: question about -file-exec-and-symbols gdbmi command In-Reply-To: <20070418121124.36ccd4fa@coin> References: <20070418111206.45c55d72@coin> <17957.60377.419260.20236@farnswood.snap.net.nz> <20070418121124.36ccd4fa@coin> X-Mailer: VM 7.19 under Emacs 22.0.97.5 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00114.txt.bz2 > > Perhaps it could be a GDB option. > > Okay thank you for the hints, Nick. > > I maybe I could try a patch that introduces a new command that clears > all the breakpoints when you load a new file ? I was thinking modifying the GDB environment with the set command, e.g., set breakpoint auto-clear on/off I think a new command would make behaviour hard to toggle, with a front end say. I can't approve your patches, so don't do anything yet. Wait for Daniel Jacobowitz, for example, to give his opinion. -- Nick http://www.inet.net.nz/~nickrob