diff --git a/apps/startup-scripts/gdb.conf b/apps/startup-scripts/gdb.conf index bcedc28ff..34c1829fd 100644 --- a/apps/startup-scripts/gdb.conf +++ b/apps/startup-scripts/gdb.conf @@ -2,3 +2,6 @@ set logging on set debug timestamp run bt +bt full +info thread +thread apply all backtrace full diff --git a/apps/startup-scripts/starter b/apps/startup-scripts/starter index dcb5a5c97..c29af3e1a 100644 --- a/apps/startup-scripts/starter +++ b/apps/startup-scripts/starter @@ -11,6 +11,9 @@ if [ $GDB_ENABLED -eq 1 ]; then echo "set debug timestamp" >> "$GDB_FILE" echo "run -c $3" >> "$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 "$SYSERR" ] && touch "$SYSERR"