Can i debug the raspberry pi os on the qemu and gdb? if it does, please tell me how to use it, thanks!
Zhao233 opened this issue · 2 comments
Zhao233 commented
Can i debug the raspberry pi os on the qemu and gdb? if it does, please tell me how to use it, thanks!
cuijier commented
you can run qemu like this
qemu-system-aarch64 -machine raspi3 -nographic -kernel kernel.img -S -s
where -S -s
Means use debug. the default port is 1234.
the you can use
gdb-multiarch
target remote :1234
to attach it.
Zhao233 commented
Thank you so much!!!! I will try it !