vim-patch:e1dc76fbf333 (#19092)

Update runtime files
e1dc76fbf3
This commit is contained in:
Christian Clason 2022-06-25 21:56:51 +02:00 committed by GitHub
parent 69e7b664d8
commit 42e8774317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -346,7 +346,11 @@ g8 Print the hex values of the bytes used in the
Only string variables can be used. After the
redirection starts, if the variable is removed or
locked or the variable type is changed, then further
command output messages will cause errors.
command output messages will cause errors. When using
a local variable (l:var in a function or s:var in a
script) and another `:redir` causes the current one to
end, the scope might be different and the assignment
fails.
To get the output of one command the |execute()|
function can be used instead of redirection.

View File

@ -2,7 +2,7 @@
"
" Author: Bram Moolenaar
" Copyright: Vim license applies, see ":help license"
" Last Change: 2022 Jun 22
" Last Change: 2022 Jun 24
"
" WORK IN PROGRESS - The basics works stable, more to come
" Note: In general you need at least GDB 7.12 because this provides the
@ -539,6 +539,7 @@ func TermDebugSendCommand(cmd)
endif
sleep 10m
endif
" TODO: should we prepend CTRL-U to clear the command?
call chansend(s:gdb_job_id, a:cmd . "\r")
if do_continue
Continue