From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4222 invoked by alias); 11 Mar 2003 21:03:04 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4205 invoked from network); 11 Mar 2003 21:03:01 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by 172.16.49.205 with SMTP; 11 Mar 2003 21:03:01 -0000 Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id OAA30672; Tue, 11 Mar 2003 14:02:59 -0700 Received: by fleche.redhat.com (Postfix, from userid 1000) id 389D94F8610; Tue, 11 Mar 2003 13:56:32 -0700 (MST) To: Andrew Cagney Cc: Gdb List Subject: Re: fix break, not add future-break References: <3E6DFD1D.4090205@redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: A shapely CATHOLIC SCHOOLGIRL is FIDGETING inside my costume.. Date: Tue, 11 Mar 2003 21:03:00 -0000 In-Reply-To: <3E6DFD1D.4090205@redhat.com> Message-ID: <87r89dmxkw.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-03/txt/msg00167.txt.bz2 >>>>> "Andrew" == Andrew Cagney writes: Andrew> I'd like to propose that break be modified so that it behaves Andrew> something like: Andrew> (gdb) break printf.c:printf Andrew> File "printf.c" not currently known, set breakpoint anyway? For Insight I think it would be useful to have a version of the command (or a flag, e.g. "break -future") that never asks. I imagine that's true of other GUIs as well, though you'd have to ask those more familiar with them. The scenario I'm thinking of is saving breakpoints. Right now we save all the breakpoints in the session. When reloading breakpoints, any breakpoint that isn't immediately valid is discarded. This is a major problem for me (and presumably others), since I do a lot of debugging of code in shared libraries -- meaning that many of my breakpoints are lost from session to session. For breakpoints the user enters by hand, asking seems like a nice idea. Tom