This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Pause
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Russell Shaw <rjshaw at netspace dot net dot au>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 04 Jan 2005 06:36:32 +0200
- Subject: Re: Pause
- References: <41D921DE.6030109@netspace.net.au>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.)