Re: [PATCH v1] gdb/DAP Fix disassemble bug

Simon Farre via Gdb-patches
2023-06-27T15:33:19Z

I've got a working "backwards disassemble" patch, coming soon.

On 6/27/23 00:11, Simon Farre wrote:
> Also, I don't know what design GDB has, but this kind of information
> is probably knowable by utilizing DWARF. Just guessing here, but it
> seems like if one were to use the line number program in dwarf, being
> able to "disassemble backwards" should be fairly easy. That kind of
> would have to require that the current design is suitable for that and
> the little I've looked at it I don't think this is the case,
> unfortunately. I'll update the patch by just returning "invalid
> values" prior to the "current pc".