mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 21:28:19 +00:00
--cmd-time-out
* changed prefixes of Valgrind core monitor commands from vg. to v.
* removed prefixes of Tool monitor commands
* memcheck leak_check 'leakpossible' arg renamed to 'possibleleak'
* memcheck make_memory 'ifaddressabledefined' arg renamed to
'Definedifaddressable'
(with uppercase D to avoid confusion with 'defined' arg).
* vgdb options
- Some doc updates : more logical option order documentation,
specify 'standalone' for options aimed at standalone usage.
- added option --cmd-time-out for standalone vgdb
(comment of Josef Weindendorfer, needed to interface with a callgrind GUI)
* updated tests according to the above.
* updated documentation according to the above.
* some additional minor doc fixes/clarifications
(Philippe Waroquiers, philippe.waroquiers@skynet.be). Bug 214909
comment 111.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11844
20 lines
381 B
Bash
Executable File
20 lines
381 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# invoker is used to test the invocation of gdbserver.
|
|
# The first argument is the nr of times vgdb has to be called.
|
|
# rest of args are given to vgdb
|
|
# At the end of the loop, an additional call is done
|
|
# but adding " -c v.kill" to kill Valgrind process.
|
|
|
|
LOOPS=$1
|
|
shift
|
|
|
|
i=0
|
|
while [ $i -lt $LOOPS ]
|
|
do
|
|
./vgdb "$@"
|
|
i=`expr $i + 1`
|
|
done
|
|
|
|
./vgdb "$@" -c v.kill
|