[PATCH v1] gdb/DAP Fix disassemble bug
Simon Farre
simon.farre.cx@gmail.com
Tue Jun 27 15:32:53 GMT 2023
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".
More information about the Gdb-patches
mailing list