aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorMichael Sartain <mikesart@fastmail.com>2021-03-10 06:20:22 -0700
committerGitHub <noreply@github.com>2021-03-10 08:20:22 -0500
commit300e71de9c3a99c613f295a74efba4bcce906064 (patch)
treebc5b441e94bf0919984ef4961f0de1213b2403d2 /runtime/lua/vim/lsp/protocol.lua
parent7844ca2e0501e1427cd18ece99f0baf63497df72 (diff)
downloadrneovim-300e71de9c3a99c613f295a74efba4bcce906064.tar.gz
rneovim-300e71de9c3a99c613f295a74efba4bcce906064.tar.bz2
rneovim-300e71de9c3a99c613f295a74efba4bcce906064.zip
runtime/termdebug 82be4849eed0b8fbee45bc8da99b685ec89af59a (#13660)
port termdebug dissasembly window only (termdebug.vim) This patch adds disassembly window to Termdebug :Asm should bring up disassembly window or setting: g:termdebug_disasm_window Values greater than 1 will set disasm window height. Code works by calling gdb disassemble command, demangling output and storing in Termdebug-asm-listing buffer + window. Current pc address is parsed from 'addr=' cursor msg and we search for that address in the disasm window. When the search fails, we execute a new "disassemble $pc" command. When in a location without a proper stack frame, "disassemble $pc" can fail and in this case we add a +length argument and try again. Tested with x86_64 gdb v10.1 and v8.2.1, and aarch64 gdb v7.12.
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
0 files changed, 0 insertions, 0 deletions