[core] Fix GDB init commands

This commit is contained in:
Kuba Szczodrzyński
2022-04-30 19:03:02 +02:00
parent d6695f127d
commit 770a7bc4fa
3 changed files with 3 additions and 3 deletions

View File

@@ -112,6 +112,7 @@ class LibretuyaPlatform(PlatformBase):
if "custom" not in debug["tools"]:
debug["tools"]["custom"] = {}
init = debug.get("gdb_init", [])
init += ["set mem inaccessible-by-default off"]
for link in protocols:
if link == "openocd":