Files
neovim/runtime
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
..
2021-03-03 18:19:01 -05:00
2017-11-07 01:16:42 +01:00
2014-12-19 15:28:49 -05:00
2020-10-11 21:18:28 +02:00
2018-01-15 23:58:52 +01:00
2020-08-15 10:57:17 -04:00
2019-11-27 22:47:25 -08:00
2019-07-29 20:50:07 +02:00
2019-01-04 02:17:23 +01:00
2021-03-03 18:19:01 -05:00
2019-07-29 20:50:07 +02:00
2017-01-31 02:02:09 +01:00
2014-07-29 02:12:31 +00:00