Use safe_to_deref in coregrind syswrap-generic.c (msghdr_foreachfield).
[valgrind.git] / gdbserver_tests / invoker
blob37bc192fd285f4f9fdc3d6e499277ccce75b02f3
1 #! /bin/sh
3 # invoker is used to test the invocation of gdbserver.
4 # The first argument is the nr of times vgdb has to be called.
5 # rest of args are given to vgdb
6 # At the end of the loop, an additional call is done
7 # but adding " -c v.kill" to kill Valgrind process.
9 LOOPS=$1
10 shift
12 i=0
13 while [ $i -lt $LOOPS ]
15 ./vgdb "$@"
16 i=`expr $i + 1`
17 done
19 ./vgdb "$@" -c v.kill