From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27470 invoked by alias); 24 Jul 2006 18:17:54 -0000 Received: (qmail 27443 invoked by uid 22791); 24 Jul 2006 18:17:42 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-02.spheriq.net (HELO fra-del-02.spheriq.net) (195.46.51.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Jul 2006 18:17:29 +0000 Received: from fra-out-01.spheriq.net (fra-out-01.spheriq.net [195.46.51.129]) by fra-del-02.spheriq.net with ESMTP id k6OIHBDJ018465 for ; Mon, 24 Jul 2006 18:17:11 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-01.spheriq.net with ESMTP id k6OIHATr013790 for ; Mon, 24 Jul 2006 18:17:10 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-02.spheriq.net with ESMTP id k6OIH50D026600 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 24 Jul 2006 18:17:05 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 B5F30DA41; Mon, 24 Jul 2006 18:17:00 +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 2D51747617; Mon, 24 Jul 2006 18:16:47 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CHV69313 (AUTH stubbsa); Mon, 24 Jul 2006 19:16:41 +0100 (BST) Message-ID: <44C50E86.8010909@st.com> Date: Mon, 24 Jul 2006 19:26:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Efim Monyak Cc: gdb@sources.redhat.com Subject: Re: define command References: <44C4FDA9.7030207@lipowsky.de> In-Reply-To: <44C4FDA9.7030207@lipowsky.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00162.txt.bz2 Efim Monyak wrote: > sorry have clicked on reply and don't checked the address. > > Is where a possibility to implement a similar functionality for GDB > 6.4.0 with no buggy features? Assuming you only source the script with the define once: set $__example_counter = 0 define example set $__example_counter += 1 end