refactor(Apps/Startup): replace 'set logging on` command with 'set logging enabled on' (#20778)

refactor: replace deprecated 'set logging on'
This commit is contained in:
Jelle Meeus 2024-12-01 21:29:35 +01:00 committed by GitHub
parent 8e080f1e60
commit 4f23dbbb03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
set logging on
set logging enabled on
set debug timestamp
run
bt

View File

@ -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"