Debug: Initial configuration for QEMU

This commit is contained in:
Ivan Kravets
2019-06-27 15:07:13 +03:00
parent c89793eab9
commit 96d337388b
2 changed files with 17 additions and 0 deletions

View File

@@ -107,3 +107,18 @@ monitor erase
$LOAD_CMDS
pio_reset_halt_target
"""
GDB_QEMU_INIT_CONFIG = """
define pio_reset_halt_target
monitor system_reset
end
define pio_reset_target
pio_reset_halt_target
end
target extended-remote $DEBUG_PORT
$INIT_BREAK
$LOAD_CMDS
pio_reset_halt_target
"""