From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11995 invoked by alias); 15 Jan 2007 12:06:55 -0000 Received: (qmail 11983 invoked by uid 22791); 15 Jan 2007 12:06:55 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 Jan 2007 12:06:47 +0000 Received: from lon-out-02.spheriq.net ([195.46.50.130]) by lon-del-02.spheriq.net with ESMTP id l0FC6hF6018511 for ; Mon, 15 Jan 2007 12:06:43 GMT Received: from lon-cus-02.spheriq.net (lon-cus-02.spheriq.net [195.46.50.38]) by lon-out-02.spheriq.net with ESMTP id l0FC6fUg032612 for ; Mon, 15 Jan 2007 12:06:42 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-02.spheriq.net with ESMTP id l0FC6cua013696 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 15 Jan 2007 12:06:39 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 22851DA45; Mon, 15 Jan 2007 12:06:34 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 855114745E; Mon, 15 Jan 2007 12:06:33 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.7.5a-GA) with ESMTP id CIK24976 (AUTH stubbsa); Mon, 15 Jan 2007 12:06:27 GMT Message-ID: <45AB6E42.1080702@st.com> Date: Mon, 15 Jan 2007 12:06:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Rob Quill Cc: gdb@sourceware.org Subject: Re: Various command file questions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-01/txt/msg00248.txt.bz2 Rob Quill wrote: > When the program deos terminate $_exitcode is assigned a value, and so > checking if it is void causes a type error, and the error stops the > script running. I was wondering if there was any way to get around > this. set $_exitcode = 99999 while $_exitcode == 99999 ... end > In a similar vein, when the checkpoint is restored, $_exitcode still > has a value, but I would like to be able to delete the convenience > variable so that the script may be executed again. set $_exitcode = (void)0 ... but with the above you wouldn't need to. Dunno the answer to the other question. Hope that helps. Andrew