blob: 6211105c4ff7bed0d2e493ff98010d81923ab9f5 [file] [log] [blame]
sewardj2a312392011-06-26 09:26:48 +00001# 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'
Elliott Hughesed398002017-06-21 14:41:24 -07006prereq: 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
sewardj2a312392011-06-26 09:26:48 +00007prog: main_pic
8vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcmain_pic
9stdout_filter: filter_gdb
10stderr_filter: filter_memcheck_monitor
11progB: gdb
12argsB: --quiet -l 60 --nx ./main_pic
13stdinB: mcmain_pic.stdinB.gdb
14stdoutB_filter: filter_gdb
15stderrB_filter: filter_memcheck_monitor
16