ftmemsim-valgrind/gdbserver_tests/nlgone_exit.vgtest
Philippe Waroquiers e548d704c3 * Modify nlgone_exit so that it tests --vgdb-stop-at=startup,exit
* remove empty lines from nlgone_*.stdinB.gdb, as these empty
  lines are (surprisingly) repeating the previous gdb command.
  Empty lines should be be put in the *gdb files.
* And add yet another sed expression in filter_gdb to cope with
  the different place where a thread exits.
  (this filter technique is now *really* arriving in a dead end
   e.g. the link between the comment and the sed expression is very
   poor).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13905
2014-04-23 21:27:07 +00:00

14 lines
463 B
Plaintext

# test that an exit (with return value) is properly passed on to gdb.
# also test the --vgdb-stop-at startup and exit args (so we do not use
# --vgdb-error=0 here)
prog: gone
args: exit
vgopts: --tool=none --vgdb=yes --vgdb-stop-at=startup,exit --vgdb-prefix=./vgdb-prefix-nlgone-exit
stderr_filter: filter_stderr
prereq: test -e gdb
progB: gdb
argsB: --quiet -l 60 --nx ./gone
stdinB: nlgone_exit.stdinB.gdb
stdoutB_filter: filter_gdb
stderrB_filter: filter_gdb