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

Simon Farre via Gdb-patches
2023-06-26T22:11:39Z

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".