summaryrefslogtreecommitdiff
path: root/contrib/winedbg-share
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/winedbg-share')
-rwxr-xr-xcontrib/winedbg-share10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/winedbg-share b/contrib/winedbg-share
new file mode 100755
index 0000000..66dc8ff
--- /dev/null
+++ b/contrib/winedbg-share
@@ -0,0 +1,10 @@
+#!/bin/sh
+# usage: winedbg-share wpid
+# Get windows process share information
+
+# --file doesn't work for some reason
+winedbg << EOF | sed 's/Wine-dbg>//g' | tail -n +3
+attach $1
+info share
+detach
+EOF