summaryrefslogtreecommitdiffstats
path: root/desktop/scripts/gdbtrace
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/scripts/gdbtrace')
-rw-r--r--desktop/scripts/gdbtrace13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/scripts/gdbtrace b/desktop/scripts/gdbtrace
new file mode 100644
index 000000000..f5fbf6325
--- /dev/null
+++ b/desktop/scripts/gdbtrace
@@ -0,0 +1,13 @@
+set pagination off
+echo log will be saved as gdbtrace.log, this will take some time, patience...\n
+handle SIGPIPE SIGXCPU SIG33 SIG35 SIGPWR nostop noprint
+set logging redirect on
+set logging file gdbtrace.log
+set logging on
+set logging overwrite on
+run
+bt
+thread apply all bt
+quit
+set logging off
+echo log is saved as gdbtrace.log\n