File 1372-Fix-etp-commands.patch of Package erlang
From 888066409afa72249f040d1427c3855d942940a0 Mon Sep 17 00:00:00 2001 From: Rickard Green <rickard@erlang.org> Date: Fri, 28 May 2021 14:19:14 +0200 Subject: [PATCH 1/2] Fix etp-commands --- erts/etc/unix/etp-commands.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in index f440b6a882..f9cf443792 100644 --- a/erts/etc/unix/etp-commands.in +++ b/erts/etc/unix/etp-commands.in @@ -3464,7 +3464,14 @@ document etp-compile-info end define etp-config-h-info - printf "%s", erts_build_flags_CONFIG_H + ## Printing the whole string at once sometimes crashes gdb... + # printf "%s", erts_build_flags_CONFIG_H + + set $ix=0 + while erts_build_flags_CONFIG_H[$ix] + printf "%c", erts_build_flags_CONFIG_H[$ix] + set $ix++ + end end document etp-config-h-info -- 2.26.2