From 4f23dbbb03294e9e3279fa2ea1829cac67360721 Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Sun, 1 Dec 2024 21:29:35 +0100 Subject: [PATCH] refactor(Apps/Startup): replace 'set logging on` command with 'set logging enabled on' (#20778) refactor: replace deprecated 'set logging on' --- apps/startup-scripts/gdb.conf | 2 +- apps/startup-scripts/starter | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/startup-scripts/gdb.conf b/apps/startup-scripts/gdb.conf index 34c1829fd..d6802a56b 100644 --- a/apps/startup-scripts/gdb.conf +++ b/apps/startup-scripts/gdb.conf @@ -1,4 +1,4 @@ -set logging on +set logging enabled on set debug timestamp run bt diff --git a/apps/startup-scripts/starter b/apps/startup-scripts/starter index d1768667e..47bbedce7 100644 --- a/apps/startup-scripts/starter +++ b/apps/startup-scripts/starter @@ -9,7 +9,7 @@ CRASHES_PATH="$7" if [ $GDB_ENABLED -eq 1 ]; then echo "set logging file "$CRASHES_PATH"/gdb-$(date +%Y-%m-%d-%H-%M-%S).txt" > "$GDB_FILE" - echo "set logging on" >> "$GDB_FILE" + echo "set logging enabled on" >> "$GDB_FILE" echo "set debug timestamp" >> "$GDB_FILE" echo "run -c $3" >> "$GDB_FILE" echo "bt" >> "$GDB_FILE"