Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: Pause
Date: Mon, 03 Jan 2005 13:02:00 -0000	[thread overview]
Message-ID: <jey8fabr8x.fsf@sykes.suse.de> (raw)
In-Reply-To: <41D921DE.6030109@netspace.net.au> (Russell Shaw's message of "Mon, 03 Jan 2005 21:43:42 +1100")

Russell Shaw <rjshaw@netspace.net.au> 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."


  reply	other threads:[~2005-01-03 13:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-03 10:39 Pause Russell Shaw
2005-01-03 13:02 ` Andreas Schwab [this message]
2005-01-03 13:05 ` Pause Russell Shaw
2005-01-04  4:39 ` Pause Eli Zaretskii
2005-01-04  4:43   ` Pause Russell Shaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jey8fabr8x.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gdb@sources.redhat.com \
    --cc=rjshaw@netspace.net.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox