sewardj | 2a31239 | 2011-06-26 09:26:48 +0000 | [diff] [blame] | 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' |
sewardj | f5194b3 | 2011-07-04 22:00:41 +0000 | [diff] [blame] | 6 | prereq: test -e gdb.pic |
sewardj | 2a31239 | 2011-06-26 09:26:48 +0000 | [diff] [blame] | 7 | prog: main_pic |
| 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 |
| 11 | progB: gdb |
| 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 |
| 16 | |