run: OK, I give in, --debug-vm-file is on

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-12-24 00:00:01 +00:00
parent 8c87bdf2d3
commit 90f3701f83
2 changed files with 23 additions and 3 deletions

View File

@@ -9922,6 +9922,15 @@ Or for a faster development loop:
./run --debug-vm-args '-ex "break qemu_add_opts" -ex "run"'
....
Or if things get really involved and you want a debug script:
....
printf 'break qemu_add_opts
run
' > data/vm.gdb
./run --debug-vm-file data/vm.gdb
....
Our default emulator builds are optimized with `gcc -O2 -g`. To use `-O0` instead, build and run with:
....