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:
parent
8e080f1e60
commit
4f23dbbb03
@ -1,4 +1,4 @@
|
|||||||
set logging on
|
set logging enabled on
|
||||||
set debug timestamp
|
set debug timestamp
|
||||||
run
|
run
|
||||||
bt
|
bt
|
||||||
|
|||||||
@ -9,7 +9,7 @@ CRASHES_PATH="$7"
|
|||||||
|
|
||||||
if [ $GDB_ENABLED -eq 1 ]; then
|
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 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 "set debug timestamp" >> "$GDB_FILE"
|
||||||
echo "run -c $3" >> "$GDB_FILE"
|
echo "run -c $3" >> "$GDB_FILE"
|
||||||
echo "bt" >> "$GDB_FILE"
|
echo "bt" >> "$GDB_FILE"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user