From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4340 invoked by alias); 3 Jan 2005 13:02:17 -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 4225 invoked from network); 3 Jan 2005 13:02:07 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 3 Jan 2005 13:02:07 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 589A412C4624; Mon, 3 Jan 2005 14:02:07 +0100 (CET) To: Russell Shaw Cc: gdb@sources.redhat.com Subject: Re: Pause References: <41D921DE.6030109@netspace.net.au> From: Andreas Schwab X-Yow: Used staples are good with SOY SAUCE! Date: Mon, 03 Jan 2005 13:02:00 -0000 In-Reply-To: <41D921DE.6030109@netspace.net.au> (Russell Shaw's message of "Mon, 03 Jan 2005 21:43:42 +1100") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-01/txt/msg00020.txt.bz2 Russell Shaw writes: > Does gdb have a "pause" or delay command? There is nothing predefined, but as a workaround you could use a counting loop. Of course, you need to calibrate it first. > I need one here: > > define simul > detach > shell killall -sHUP simulavr > shell simulavr -g -p 4242 -d atmega16 -c 16000000 loader_02.bin & > file loader_02 set $i = 0 while ($i++ < 100000) end > target remote localhost:4242 > end > Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."