gdb 单步调试
/> b file:the line of function you want to debug(b set breakpoint)
/> r (run the function)
/> s(step into current line’s sub function and don’t step out )
/> n (continute run next line)
/> c(continute to next breakpoint)
/>b the line of current file you want to set break point