mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(Apps): Imrpove crashlogs on Linux. (#9131)
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
@@ -2,3 +2,6 @@ set logging on
|
|||||||
set debug timestamp
|
set debug timestamp
|
||||||
run
|
run
|
||||||
bt
|
bt
|
||||||
|
bt full
|
||||||
|
info thread
|
||||||
|
thread apply all backtrace full
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ if [ $GDB_ENABLED -eq 1 ]; then
|
|||||||
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"
|
||||||
|
echo "bt full" >> "$GDB_FILE"
|
||||||
|
echo "info thread" >> "$GDB_FILE"
|
||||||
|
echo "thread apply all backtrace full" >> "$GDB_FILE"
|
||||||
|
|
||||||
[ ! -f "$SYSLOG" ] && touch "$SYSLOG"
|
[ ! -f "$SYSLOG" ] && touch "$SYSLOG"
|
||||||
[ ! -f "$SYSERR" ] && touch "$SYSERR"
|
[ ! -f "$SYSERR" ] && touch "$SYSERR"
|
||||||
|
|||||||
Reference in New Issue
Block a user