bao-hypervisor icon indicating copy to clipboard operation
bao-hypervisor copied to clipboard

How to debug bao with gdb?

Open Sunt-git opened this issue 2 years ago • 1 comments

I want to use gdb to debug bao, I don't know if I can debug it, or if there are other debugging methods?

Sunt-git avatar Mar 28 '22 08:03 Sunt-git

It really depends on the platform you are targeting. If you are running bao on qemu, we can simply run it with the -s -S options and attach using the toolchain's gdb.

josecm avatar Mar 28 '22 13:03 josecm