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