1 # test that gdbserver/gdb properly handle a PIC executable
2 # On linux, this implies a proper transfer of the auxv
3 # information via the gdbserver protocol packet qXfer:auxv:read:
4 # The content of the auxv data can be shown by gdb using
5 # gdb command 'info auxv'
6 prereq: test -e gdb.pic && if ../tests/arch_test mips32 || ../tests/arch_test mips64 ; then echo "set heuristic-fence-post 999999" ; else echo '' ; fi > mcmain_pic.heur
8 vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcmain_pic
9 stdout_filter: filter_gdb
10 stderr_filter: filter_memcheck_monitor
12 argsB: --quiet -l 60 --nx ./main_pic
13 stdinB: mcmain_pic.stdinB.gdb
14 stdoutB_filter: filter_gdb
15 stderrB_filter: filter_memcheck_monitor