philippe | 3a53220 | 2013-02-24 23:16:58 +0000 | [diff] [blame] | 1 | # connect gdb to Valgrind gdbserver: |
2 | target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-nlself_invalidate | ||||
3 | echo vgdb launched process attached\n | ||||
4 | # place a breakpoint that will cause an invalidation of the currently executed translation | ||||
5 | break *top | ||||
6 | # Now, continue till the end. This should not crash | ||||
7 | continue | ||||
8 | continue | ||||
9 | continue | ||||
10 | continue | ||||
11 | continue | ||||
12 | continue | ||||
13 | # and the process should exit very quickly now | ||||
14 | quit |