Fix to debugging of smaps