# test that gdbserver/gdb properly handle a PIC executable # On linux, this implies a proper transfer of the auxv # information via the gdbserver protocol packet qXfer:auxv:read: # The content of the auxv data can be shown by gdb using # gdb command 'info auxv' 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 prog: main_pic vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcmain_pic stdout_filter: filter_gdb stderr_filter: filter_memcheck_monitor progB: gdb argsB: --quiet -l 60 --nx ./main_pic stdinB: mcmain_pic.stdinB.gdb stdoutB_filter: filter_gdb stderrB_filter: filter_memcheck_monitor