-
-
Notifications
You must be signed in to change notification settings - Fork 1
Debugging the QEMU VM
Leandro Zungri edited this page Apr 4, 2020
·
2 revisions
There are two simple steps you need to follow in order to debug QEMU:
- Launch QEMU in debug mode
- Start the debugger
Run the launch.py
script with the -D
option as in:
$LARITOS/tools/qemu/launch.py -D
You should immediately see the following message:
Launching qemu in debugging mode (listening on :55555)
Then, the launcher will wait until the debugger is connected.
Open a new terminal and run the following command:
gdb <your_qemu>/bin/arm-softmmu/qemu-system-arm -ex "target remote :55555" -q