ftmemsim-valgrind/gdbserver_tests/mcwatchpoints.vgtest
Julian Seward dd51367883 Further fixes for GDB server on Thumb code:
* Disabled several tests on ARM when gdb version < 7.1
  gdb 7.0 has problems with next/step/... in ARM thumb code.

* Documented in manual-core.xml that ARM thumb code implies
  a gdb version >= 7.1

* m_gdbserver.h/.c : take into account the thumb bit at several places

* use new IRStmt_IMark::delta field to distinguish ARM vs Thumb
  instructions as committed in vex r2153

Patch from bug 214909 comment 99 (valgrind part).
(Philippe Waroquiers, philippe.waroquiers@skynet.be)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11779
2011-05-27 13:23:44 +00:00

15 lines
563 B
Plaintext

# test the memcheck watchpoint functionality
# Note: we need --vgdb=full to stop at the instruction following the watchpoint.
# We need a non buggy gdb.step as watchpoints are placed after a "step".
prereq: test -e gdb -a -f gdb.step
prog: watchpoints
vgopts: --tool=memcheck --vgdb=full --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcwatchpoints
stdout_filter: filter_make_empty
stderr_filter: filter_memcheck_monitor
progB: gdb
argsB: --quiet -l 60 --nx ./watchpoints
stdinB: mcwatchpoints.stdinB.gdb
stdoutB_filter: filter_gdb
stderrB_filter: filter_make_empty