mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-10 09:26:15 +00:00
17 lines
601 B
Plaintext
17 lines
601 B
Plaintext
# 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
|
|
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
|
|
|