• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# test inferior calls when some threads are in Runnable or Yielding mode,
2# some threads are in WaitSys.
3prog: sleepers
4# We would like to have two threads running (i.e. -S-SB-B-)
5# but this introduces too much dependencies to scheduler fairness.
6args: 100 100000000 1000000000 -S-S-SB-
7vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcinfcallWSRU
8# We need a non buggy gdb.step on arm thumb.
9# Disable on Darwin: inferior call rejected as it cannot find malloc.
10prereq: test -e gdb -a -f gdb.step && ../tests/os_test linux
11# filter_gdb to replace pid and Thread numbers in the output of the program:
12stderr_filter: filter_gdb
13progB: gdb
14argsB:  --quiet -l 60 --nx 1>&2 ./sleepers
15stdinB: mcinfcallWSRU.stdinB.gdb
16stderrB_filter: filter_gdb
17