From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8041 invoked by alias); 18 Oct 2005 17:06:02 -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 7970 invoked by uid 22791); 18 Oct 2005 17:05:57 -0000 Received: from mail-out4.apple.com (HELO mail-out4.apple.com) (17.254.13.23) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 18 Oct 2005 17:05:57 +0000 Received: from relay6.apple.com (a17-128-113-36.apple.com [17.128.113.36]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id j9IH5ljg001479; Tue, 18 Oct 2005 10:05:47 -0700 (PDT) Received: from [17.201.22.240] (inghji.apple.com [17.201.22.240]) by relay6.apple.com (Apple SCV relay) with ESMTP id F05821BF; Tue, 18 Oct 2005 10:05:46 -0700 (PDT) In-Reply-To: <20051014193848.GO959@adacore.com> References: <20051011174255.GB1015@adacore.com> <20051014154434.GB28117@nevyn.them.org> <20051014193848.GO959@adacore.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <12A316ED-200D-4757-B255-4357CACF5509@apple.com> Cc: gdb@sources.redhat.com Content-Transfer-Encoding: 7bit From: Jim Ingham Subject: Re: New command to save breakpoints? Date: Tue, 18 Oct 2005 17:06:00 -0000 To: Joel Brobecker X-SW-Source: 2005-10/txt/msg00100.txt.bz2 Sean Callanan submitted a patch a couple of months ago that would add a switch to continue execution after errors in "source" or "define" command executions. He seems not to have cleaned it up after some comments from DanielJ, but that would probably do the trick for you here. Jim On Oct 14, 2005, at 12:38 PM, Joel Brobecker wrote: > At the implementation level, however, this causes an extra difficulty > as simple sourcing of the script will abort if such error happens. So > we'll need to find a solution (such as diverting all errors during the > sourcing and transform them into warnings, or implement a switch to > the break command to report what normally are errors as warnings). Or > we can decide no use to a normal source, but something else. To be > determined. >