From e9fae2e321f045560d93be540134599a45f43985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Smoczy=C5=84ski?= Date: Wed, 24 Feb 2021 12:15:39 +0100 Subject: [PATCH] [EGD-5869] Add puregdb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add misc-tools repo containing: - linker map file analyzer (firmware size analyzer) - gdb's plugin which checks system memory health Automatically load puregdb at startup of a debug session. Signed-off-by: Marcin SmoczyƄski --- .gdbinit-1051 | 1 + .gitmodules | 3 +++ tools/misc | 1 + 3 files changed, 5 insertions(+) create mode 160000 tools/misc diff --git a/.gdbinit-1051 b/.gdbinit-1051 index d90e17b402483dccdef7e6159bd625b42292e85b..6eb833bfd6720c5e9a3feae34ce1619a1052facf 100644 --- a/.gdbinit-1051 +++ b/.gdbinit-1051 @@ -1,5 +1,6 @@ target remote localhost:2331 source tools/gdb_crash_extend.py +source tools/misc/puregdb/puregdb.py monitor reset 0 monitor halt monitor memU32 0x401BC000 = 128; diff --git a/.gitmodules b/.gitmodules index cd9d28e9862b6ee03d02ef9c94c325781da3ec2a..26c05a528ac4e57a5a97dffabca2ef31b1c9f74b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -75,3 +75,6 @@ [submodule "module-utils/sml"] path = module-utils/sml url = https://github.com/boost-ext/sml +[submodule "tools/misc"] + path = tools/misc + url = ../misc-tools.git diff --git a/tools/misc b/tools/misc new file mode 160000 index 0000000000000000000000000000000000000000..f1d9781f3523d96abbe80e6353276a6f550cc308 --- /dev/null +++ b/tools/misc @@ -0,0 +1 @@ +Subproject commit f1d9781f3523d96abbe80e6353276a6f550cc308