Pause
Andreas Schwab
schwab@suse.de
Mon Jan 3 13:02:00 GMT 2005
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."
More information about the Gdb
mailing list