diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-16 12:39:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-16 12:39:47 +0200 |
commit | 3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef (patch) | |
tree | 06fa2c8e003d252e1a537483aa6b93885e76bca9 /runtime/pack | |
parent | 50157ef1c2e36d8696e79fd688bdd08312196bc6 (diff) | |
download | vim-git-3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/pack')
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 706a94b97..117322da5 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -2,7 +2,7 @@ " " Author: Bram Moolenaar " Copyright: Vim license applies, see ":help license" -" Last Change: 2021 Jan 03 +" Last Change: 2021 May 16 " " WORK IN PROGRESS - Only the basics work " Note: On MS-Windows you need a recent version of gdb. The one included with @@ -228,7 +228,9 @@ func s:StartDebug_term(dict) endif let s:gdbwin = win_getid(winnr()) - " Set arguments to be run + " Set arguments to be run. First wait a bit to make detecting gdb a bit + " more reliable. + sleep 200m if len(proc_args) call term_sendkeys(s:gdbbuf, 'set args ' . join(proc_args) . "\r") endif |