File 0847-erts-Install-gdb-tools-when-running-cerl-rr-replay.patch of Package erlang

From e75751549ff3962a6995fabe75223a0203fc97f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Tue, 7 Jan 2025 11:39:30 +0100
Subject: [PATCH 3/3] erts: Install gdb tools when running cerl -rr replay

---
 erts/etc/unix/cerl.src | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/erts/etc/unix/cerl.src b/erts/etc/unix/cerl.src
index 5df77be5cb..be5608eb75 100644
--- a/erts/etc/unix/cerl.src
+++ b/erts/etc/unix/cerl.src
@@ -423,6 +423,9 @@ if [ "x$GDB" = "x" ]; then
         fi
     elif [ $run_rr = yes ]; then
         if [ $1 = replay ]; then
+
+            install_gdb_tools
+
             shift
             cmdfile="/tmp/.cerlgdb.$$"
             echo "set \$etp_beam_executable = \"$BINDIR/$EMU_NAME\"" > $cmdfile
-- 
2.43.0

openSUSE Build Service is sponsored by