Refresh dbg_pv_dump patch. Added more checks. Fix xavp error.