mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #3307 from mglae/le90_crash_log
kodi.sh: upgrade crash log information
This commit is contained in:
commit
52c4987129
@ -46,7 +46,11 @@ single_stacktrace()
|
||||
find "$1" -name 'core.*kodi.bin.*' | while read core; do
|
||||
echo "=====> Core file: "$core"" >> $FILE
|
||||
echo " =========================================" >> $FILE
|
||||
gdb /usr/lib/kodi/kodi.bin --core="$core" --batch -ex "thread apply all bt" 2>/dev/null >> $FILE
|
||||
if [ -f /storage/.config/debug.enhanced ]; then
|
||||
gdb /usr/lib/kodi/kodi.bin --core="$core" --batch -ex "thread apply all bt full" -ex "info registers" -ex "set print asm-demangle on" -ex "disassemble" 2>/dev/null >> $FILE
|
||||
else
|
||||
gdb /usr/lib/kodi/kodi.bin --core="$core" --batch -ex "thread apply all bt" 2>/dev/null >> $FILE
|
||||
fi
|
||||
rm -f "$core"
|
||||
done
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user