neovim/runtime/pack/dist/opt
Michael Sartain 300e71de9c
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.
2021-03-10 08:20:22 -05:00
..
cfilter/plugin Sync cfilter 1.1 from vim 2020-09-21 11:29:02 +03:00
justify/plugin vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
matchit runtime: move matchit.vim to /pack/dist/opt/ 2019-08-01 15:43:53 +02:00
shellmenu/plugin vim-patch:7.4.1676 #5143 2016-08-01 03:25:03 -04:00
swapmouse/plugin vim-patch:7.4.1675 #5142 2016-08-01 03:23:21 -04:00
termdebug/plugin runtime/termdebug 82be4849eed0b8fbee45bc8da99b685ec89af59a (#13660) 2021-03-10 08:20:22 -05:00
vimball vim-patch:3e496b0ea319 2017-04-28 23:39:24 +02:00