set pagination off
set confirm off
break *POLLADDR
commands 1
silent
set $e = *(unsigned long*)($rdi+0x1428)
watch *(unsigned short*)($e+0x2e)
printf "WATCH set at %p+0x2e\n", $e
disable 1
continue
end
commands 2
silent
printf "WRITE to slot+0x2e: old=%x new=%x by pc=%p\n", *(unsigned short*)($e+0x2e), $eax, $pc
bt 3
continue
end
continue