mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-10 09:26:15 +00:00
18 lines
765 B
Plaintext
18 lines
765 B
Plaintext
# test the signal handling, when signals are *not* passed to the Valgrind guest.
|
|
# We detect this two ways:
|
|
# the gdb output will not contain the signal handling
|
|
# faultstatus C code will report a failure for the signal not passed
|
|
# (i.e. SIGBUG, Test 3). Other tests will be succesful, because signals
|
|
# are eventually passed.
|
|
prereq: test -e gdb
|
|
prog: ../none/tests/faultstatus
|
|
vgopts: --tool=memcheck --vgdb=full --vex-iropt-register-updates=allregs-at-mem-access --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcsignopass
|
|
stderr_filter: filter_memcheck_monitor
|
|
stderr_filter_args: faultstatus.c
|
|
progB: gdb
|
|
argsB: --quiet -l 60 --nx ../none/tests/faultstatus
|
|
stdinB: mcsignopass.stdinB.gdb
|
|
stdoutB_filter: filter_gdb
|
|
stderrB_filter: filter_make_empty
|
|
|