|Re: [dsdp-dd-dev] Disassembly related DSF questions|
Each debugger integration based on DSF has the burden of registering all the flexible hierarchy and retargetable command adapters. This allows for maximum flexibility, but it can be somewhat confusing as adapters themselves.
For GDB debugger integration, there is a module called GdbAdapterFactory that registers all of its adapters (there is also a similar PDAAdapterFactory in the example debugge). This is where you can register IDisassemblyContextProvider interface. When you register this provider in the same way that the retargetable action adapters are registered, this provider will be returned by all elements belonging to the GDB debugger. It is then up to the implementation of IDisassemblyContextProvier to determine whether and what disassembly context to return for the given element.
Mikhail Khodjaiants wrote:
Back to the top