summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-04 19:34:09 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-04 21:00:02 +0100
commit374bb921153f5caae5c9638adbd4e3eddaa34797 (patch)
tree335e6ddc51b8d93d53e0dc491c8d791556703c12
parent5b968bb948b7904cc41c254b7851880e451f6906 (diff)
Add missing Windows gdb support files.
-rw-r--r--platform/windows/debug.bat1
-rw-r--r--platform/windows/gdb_script9
2 files changed, 10 insertions, 0 deletions
diff --git a/platform/windows/debug.bat b/platform/windows/debug.bat
new file mode 100644
index 000000000..d40cf4bcd
--- /dev/null
+++ b/platform/windows/debug.bat
@@ -0,0 +1 @@
+gdb.exe -x gdb_script dcpomatic.exe > %HOMEPATH%/Documents/dcpomatic_debug_log.txt
diff --git a/platform/windows/gdb_script b/platform/windows/gdb_script
new file mode 100644
index 000000000..c0544e02e
--- /dev/null
+++ b/platform/windows/gdb_script
@@ -0,0 +1,9 @@
+catch throw
+commands
+thread apply all bt
+thread apply all continue
+end
+set pagination off
+run
+thread apply all bt
+quit