Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: Pause
Date: Tue, 04 Jan 2005 04:39:00 -0000	[thread overview]
Message-ID: <01c4f217$Blat.v2.2.2$1cf67520@zahav.net.il> (raw)
In-Reply-To: <41D921DE.6030109@netspace.net.au> (message from Russell Shaw on Mon, 03 Jan 2005 21:43:42 +1100)

> 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.)


  parent reply	other threads:[~2005-01-04  4:39 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 ` Eli Zaretskii [this message]
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='01c4f217$Blat.v2.2.2$1cf67520@zahav.net.il' \
    --to=eliz@gnu.org \
    --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