Add a qemu debug option and gdb init file.
This commit is contained in:
parent
03fe4d8c2e
commit
3e1a1f7485
2 changed files with 9 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue