M_DBGLARPTR
idx = (idx + 1) & M_DBGLARPTR;
val &= ~V_DBGLARPTR(M_DBGLARPTR);
#define G_DBGLARPTR(x) (((x) >> S_DBGLARPTR) & M_DBGLARPTR)