summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/wall2/gdbfill.gdb
diff options
context:
space:
mode:
Diffstat (limited to 'tools/guest-diag/wall2/gdbfill.gdb')
-rw-r--r--tools/guest-diag/wall2/gdbfill.gdb13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/guest-diag/wall2/gdbfill.gdb b/tools/guest-diag/wall2/gdbfill.gdb
new file mode 100644
index 0000000..41d1ea3
--- /dev/null
+++ b/tools/guest-diag/wall2/gdbfill.gdb
@@ -0,0 +1,13 @@
+set pagination off
+set confirm off
+break *POLLADDR
+commands 1
+silent
+set $e = *(unsigned long*)($rdi+0x1428)
+if *(unsigned short*)($e+0x2e) == 0xffff
+ set {unsigned short}($e+0x2e) = 0
+ printf "FILLED slot at %p+0x2e -> 0\n", $e
+end
+continue
+end
+continue