simplify the code of backspace
We can use gdb auto test
Usage: make gdbauto