From b189eff8fff4e524f2cc3cbd23e6c15541a22538 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 26 May 2025 16:07:45 -0400 Subject: [PATCH 1/2] contrib: save steps when building locally Make debugging easier with ctng. Signed-off-by: Anas Nashif --- contrib/linux_build_toolchain.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/linux_build_toolchain.sh b/contrib/linux_build_toolchain.sh index c2288364..9067fc73 100755 --- a/contrib/linux_build_toolchain.sh +++ b/contrib/linux_build_toolchain.sh @@ -124,6 +124,7 @@ CT_GDB_CROSS_PYTHON_BINARY="python3" CT_EXPERIMENTAL=y CT_ALLOW_BUILD_AS_ROOT=y CT_ALLOW_BUILD_AS_ROOT_SURE=y +CT_DEBUG_CT_SAVE_STEPS=y EOF "${CT_NG}" savedefconfig DEFCONFIG=build.config From 36f75cc17609d2f5d3798d1ce6ab4a23fc82f394 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 26 May 2025 16:08:37 -0400 Subject: [PATCH 2/2] ctng: allow building variants of gdb Build multiple variants of gdb, one without python and one with: *-gdb-py Signed-off-by: Anas Nashif --- crosstool-ng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crosstool-ng b/crosstool-ng index 787dd4c9..35934f2c 160000 --- a/crosstool-ng +++ b/crosstool-ng @@ -1 +1 @@ -Subproject commit 787dd4c9fda66eaddcc7dabe93cc48ebfa40090f +Subproject commit 35934f2cfb285b4197c2ef2a900bf315beff108d