• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# connect gdb to Valgrind gdbserver:
2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-nlself_invalidate
3echo vgdb launched process attached\n
4# place a breakpoint that will cause an invalidation of the currently executed translation
5break *top
6# Now, continue till the end. This should not crash
7continue
8continue
9continue
10continue
11continue
12continue
13# and the process should exit very quickly now
14quit
15