Install gdb in RAN images to have stack traces on asserts

This commit is contained in:
Robert Schmidt
2022-08-24 15:51:49 +02:00
parent 4dc26bf575
commit a58b3989d1
14 changed files with 24 additions and 0 deletions
+3
View File
@@ -68,6 +68,9 @@ elif [[ -v USE_N3XX ]]; then
$PREFIX/bin/uhd_images_downloader.py -t n3xx
fi
# enable printing of stack traces on assert
export gdbStacks=1
echo "=================================="
echo "== Starting eNB soft modem"
if [[ -v USE_ADDITIONAL_OPTIONS ]]; then
+3
View File
@@ -68,6 +68,9 @@ elif [[ -v USE_N3XX ]]; then
$PREFIX/bin/uhd_images_downloader.py -t n3xx
fi
# enable printing of stack traces on assert
export gdbStacks=1
echo "=================================="
echo "== Starting gNB soft modem"
if [[ -v USE_ADDITIONAL_OPTIONS ]]; then
+3
View File
@@ -48,6 +48,9 @@ elif [[ -v USE_N3XX ]]; then
$PREFIX/bin/uhd_images_downloader.py -t n3xx
fi
# enable printing of stack traces on assert
export gdbStacks=1
echo "=================================="
echo "== Starting eNB soft modem"
if [[ -v USE_ADDITIONAL_OPTIONS ]]; then
+3
View File
@@ -63,6 +63,9 @@ if [[ -v USE_NFAPI ]]; then
new_args+=("$PREFIX/etc/ue.conf")
fi
# enable printing of stack traces on assert
export gdbStacks=1
echo "=================================="
echo "== Starting LTE UE soft modem"
if [[ -v USE_ADDITIONAL_OPTIONS ]]; then
+3
View File
@@ -64,6 +64,9 @@ while [[ $# -gt 0 ]]; do
shift
done
# enable printing of stack traces on assert
export gdbStacks=1
echo "=================================="
echo "== Starting NR UE soft modem"
if [[ -v USE_ADDITIONAL_OPTIONS ]]; then