cfinish command
fixes #38 (closed), follow-up to !93 (merged)
The reason to come back is that people commonly use finish
and expect a "best matching" variant for COBOL, too.
Additional this allows GDB frontends to use that instead of -exec-finish
like the following part for VIM-based GDB frontends:
func s:Over()
if &filetype ==# 'cobol'
call s:SendCommand('-interpreter-exec console "cnext"')
else
call s:SendCommand('-exec-next')
endif
endfunc
func s:Finish()
if &filetype ==# 'cobol'
call s:SendCommand('-interpreter-exec console "cfinish"')
else
call s:SendCommand('-exec-finish')
endif
endfunc