Allow to pass multiple load commands to PIO Unified Debugger

This commit is contained in:
Ivan Kravets
2019-05-31 14:45:48 +03:00
parent 5f9fd9260e
commit bae21f1cdd
5 changed files with 27 additions and 22 deletions

View File

@@ -73,7 +73,7 @@ class GDBClient(BaseProcess): # pylint: disable=too-many-instance-attributes
"DEBUG_PORT": self.debug_options['port'],
"UPLOAD_PROTOCOL": self.debug_options['upload_protocol'],
"INIT_BREAK": self.debug_options['init_break'] or "",
"LOAD_CMD": self.debug_options['load_cmd'] or "",
"LOAD_CMDS": "\n".join(self.debug_options['load_cmds'] or []),
}
self._debug_server.spawn(patterns)