summaryrefslogtreecommitdiff
path: root/runtime/pack
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-02 22:58:42 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-02 22:58:42 +0100
commit01164a6546b4c635daf96a1f17d1cb2d07f32a66 (patch)
tree6e3ff8b26170448c1ee8c53e904738ddc10287e8 /runtime/pack
parentea84df8041dbbff95acb1db8532281679c5fbe5a (diff)
downloadvim-git-01164a6546b4c635daf96a1f17d1cb2d07f32a66.tar.gz
Long overdue runtime update.
Diffstat (limited to 'runtime/pack')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 28d5a9b46..229cc7a7a 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -95,6 +95,7 @@ func s:StartDebug(cmd)
let s:gdbwin = win_getid(winnr())
" Connect gdb to the communication pty, using the GDB/MI interface
+ " If you get an error "undefined command" your GDB is too old.
call term_sendkeys(gdbbuf, 'new-ui mi ' . commpty . "\r")
" Sign used to highlight the line where the program has stopped.
@@ -299,6 +300,7 @@ func s:HandleCursor(msg)
endif
endif
exe lnum
+ exe 'sign unplace ' . s:pc_id
exe 'sign place ' . s:pc_id . ' line=' . lnum . ' name=debugPC file=' . fname
setlocal signcolumn=yes
endif