desktop/scripts/gdbtrace
raw| 1 | set pagination off |
| 2 | echo log will be saved as gdbtrace.log, this will take some time, patience...\n |
| 3 | handle SIGPIPE SIGXCPU SIG33 SIG35 SIGPWR nostop noprint |
| 4 | set logging redirect on |
| 5 | set logging file gdbtrace.log |
| 6 | set logging enabled on |
| 7 | set logging overwrite on |
| 8 | run |
| 9 | bt |
| 10 | thread apply all bt |
| 11 | quit |
| 12 | set logging enabled off |
| 13 | echo log is saved as gdbtrace.log\n |