1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2025-06-08 08:26:14 +00:00
2015-12-13 22:34:58 +09:00

15 lines
414 B
Plaintext

# 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