allwinner_a64/android/external/valgrind/gdbserver_tests/nlself_invalidate.stdinB.gdb
2018-08-08 16:14:42 +08:00

14 lines
414 B
Text

# connect gdb to Valgrind gdbserver:
target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-nlself_invalidate
echo vgdb launched process attached\n
# place a breakpoint that will cause an invalidation of the currently executed translation
break *top
# Now, continue till the end. This should not crash
continue
continue
continue
continue
continue
continue
# and the process should exit very quickly now
quit