oh-my-dot: gdb/ : refactoring routine in python helper, adding a proper cgdb support