summaryrefslogtreecommitdiff
path: root/contrib/winedbg-share
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-18 21:37:02 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-18 21:37:02 +0300
commit2efc087cd4f70c07523b82941259a5d2597b4460 (patch)
tree46d1ba26e158cc5a04ae857d2976a694732c47a6 /contrib/winedbg-share
parentfcadd18b07e55f4a6d21f9f378de9ded25be7e67 (diff)
Add some tools
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