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 <return> 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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui