thr_pwrite_ptr
thr_pwrite_ptr(ta, ta->thread_last_event_addr, 0);
int thr_pwrite_ptr(const struct td_thragent *, psaddr_t, psaddr_t);