Add a qemu debug option and gdb init file.
This commit is contained in:
parent
03fe4d8c2e
commit
3e1a1f7485
|
@ -0,0 +1,3 @@
|
|||
target remote localhost:1234
|
||||
file builddbg/zion/zion
|
||||
break zion
|
|
@ -19,6 +19,11 @@ add_custom_command(
|
|||
)
|
||||
|
||||
add_custom_target(qemu
|
||||
COMMAND qemu-system-x86_64 -d guest_errors -m 1G -serial stdio -hda disk.img --boot c
|
||||
COMMAND qemu-system-x86_64 -d guest_errors -m 1G -serial stdio -hda disk.img
|
||||
DEPENDS disk.img
|
||||
USES_TERMINAL)
|
||||
|
||||
add_custom_target(qemu-dbg
|
||||
COMMAND qemu-system-x86_64 -d guest_errors -m 1G -serial stdio -hda disk.img -S -s
|
||||
DEPENDS disk.img
|
||||
USES_TERMINAL)
|
||||
|
|
Loading…
Reference in New Issue