summaryrefslogtreecommitdiffstats
path: root/runtime/pack/dist/opt/termdebug
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-05-16 12:39:47 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-16 12:39:47 +0200
commit3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef (patch)
tree06fa2c8e003d252e1a537483aa6b93885e76bca9 /runtime/pack/dist/opt/termdebug
parent50157ef1c2e36d8696e79fd688bdd08312196bc6 (diff)
Update runtime files
Diffstat (limited to 'runtime/pack/dist/opt/termdebug')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim6
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 706a94b976..117322da50 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