geany / geany-plugins

The combined Geany Plugins collection
http://plugins.geany.org/
594 stars 268 forks source link

Debugger: Disassembly view for debugged C file #1038

Open KhazAkar opened 4 years ago

KhazAkar commented 4 years ago

It would be a great addition to Debugger plugin to have possibility to see disassembly view of debugged program/C file :) Capstone as a disassembler is worth to look into considering this issue to be resolved IMHO: http://www.capstone-engine.org

nomadbyte commented 2 years ago

There's no need for an additional dependency, GDB already has disassembly support (both in TUI mode: disassemble and MI mode: -data-disassemble etc.).

However, wiring a disassembly view into the plugin will require some non-trivial effort.

The basic idea is to have an additional editor with disassembly instructions corresponding to the current call-stack and ability to step by instructions from the current point.