Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: Pause
Date: Tue, 04 Jan 2005 04:43:00 -0000	[thread overview]
Message-ID: <41DA1FED.1050201@netspace.net.au> (raw)
In-Reply-To: <01c4f217$Blat.v2.2.2$1cf67520@zahav.net.il>

Eli Zaretskii wrote:
>>Date: Mon, 03 Jan 2005 21:43:42 +1100
>>From: Russell Shaw <rjshaw@netspace.net.au>
>>
>>Does gdb have a "pause" or delay command?  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
>>
>>     < delay 300ms >
>>
>>     target remote localhost:4242
>>end
> 
> Would "shell sleep 1" do the trick?  (If 1 second is too long, you
> could write a simple program that called nanosleep or some such to
> sleep with finer granularity.)

shell sleep 1 should work well. Thanks.


      reply	other threads:[~2005-01-04  4:43 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 ` Pause Andreas Schwab
2005-01-03 13:05 ` Pause Russell Shaw
2005-01-04  4:39 ` Pause Eli Zaretskii
2005-01-04  4:43   ` Russell Shaw [this message]

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=41DA1FED.1050201@netspace.net.au \
    --to=rjshaw@netspace.net.au \
    --cc=gdb@sources.redhat.com \
    /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