Fix issues in p4dbg.py after switch to Python3 (#1017)
Fix issues in p4dbg.py after switch to Python3 (#1017)

Fixes #1016
p4lang/behavioral-model,p4lang/behavioral-model,p4lang/behavioral-model,p4lang/behavioral-model,p4lang/behavioral-model