aboutsummaryrefslogtreecommitdiff
path: root/gdbserver_tests/nlcontrolc.vgtest
blob: 077b2bb81a524a51ca0ff5d60bc2a1ffee9bbbe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# test :
#   info threads valgrind specific output
#   the user can control-c an process with all threads in WaitSys
#          and modify some variables
#   the user can control-c an process with all threads in Running/Yielding
#          and modify some variables
# sleepers is started with argument so that it will compute during ages.
# The variable modifications means it will exit in a reasonable time.
# This test is disabled on Solaris because modifying select/poll/ppoll timeout
# has no effect if a thread is already blocked in that syscall.
prog: sleepers
args: 1000000000 1000000000 1000000000 BSBSBSBS
vgopts: --tool=none --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-nlcontrolc
stderr_filter: filter_stderr
# Bug 338633 nlcontrol hangs on arm64 currently.
prereq: test -e gdb -a -f vgdb.invoker && ! ../tests/arch_test arm64 && ! ../tests/arch_test tilegx && ! ../tests/os_test solaris
progB: gdb
argsB: --quiet -l 60 --nx ./sleepers
stdinB: nlcontrolc.stdinB.gdb
stdoutB_filter: filter_gdb
stderrB_filter: filter_make_empty