To: vim_dev@googlegroups.com Subject: Patch 8.0.1655 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1655 Problem: Outdated gdb message in terminal debugger unclear. Solution: Specifically mention the required gdb version. Avoid getting stuck on pagination. Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim *** ../vim-8.0.1654/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 2018-03-11 20:51:48.226288941 +0100 --- runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 2018-03-16 19:40:57.190114480 +0100 *************** *** 116,122 **** if term_getline(s:gdbbuf, lnum) =~ 'new-ui mi ' let response = term_getline(s:gdbbuf, lnum + 1) if response =~ 'Undefined command' ! echoerr 'Your gdb does not support the Machine Interface feature' exe 'bwipe! ' . s:ptybuf exe 'bwipe! ' . s:commbuf return --- 116,122 ---- if term_getline(s:gdbbuf, lnum) =~ 'new-ui mi ' let response = term_getline(s:gdbbuf, lnum + 1) if response =~ 'Undefined command' ! echoerr 'Sorry, your gdb is too old, gdb 7.12 is required' exe 'bwipe! ' . s:ptybuf exe 'bwipe! ' . s:commbuf return *************** *** 143,148 **** --- 143,152 ---- " running. call s:SendCommand('-gdb-set mi-async on') + " Disable pagination, it causes everything to stop at the gdb + " "Type to continue" prompt. + call s:SendCommand('-gdb-set pagination off') + " Sign used to highlight the line where the program has stopped. " There can be only one. sign define debugPC linehl=debugPC *** ../vim-8.0.1654/src/version.c 2018-03-29 18:15:21.850258760 +0200 --- src/version.c 2018-03-29 18:29:11.361099887 +0200 *************** *** 764,765 **** --- 764,767 ---- { /* Add new patch number below this line */ + /**/ + 1655, /**/ -- From "know your smileys": !-| I-am-a-Cylon-Centurian-with-one-red-eye-bouncing-back-and-forth /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///