Files
ftmemsim-valgrind/gdbserver_tests/mcmain_pic.vgtest
Julian Seward d1e0bf1d9e GDB server: fix tests following recent commits.
Fixes #276987.  (Philippe Waroquiers, philippe.waroquiers@skynet.be)

* make_local_links
  - disable gdb tests if gdb version < 7
  - disable pic tests if gdb version < 7.1
* nlfork_chain test
  - reduce chain from 20 to 15 to avoid ENOMEM
    on small ARM systems
* main_pic.c
  - put break at line 11 rather than main entry, as ARM gdb
     does not properly show main args till it has started executing.
* passsigalrm.c
  - do not setsa.sa_restorer (obsolete on linux, unknown on darwin)
* mcvabits.vgtest
  - make prereq consistent with other tests
* filter_gdb
  - upgraded filter to new linenr in clean_after_fork.c



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11853
2011-07-04 22:00:41 +00:00

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