On 25.4.2022 18.02, J.Young wrote:
Also general debugger requests:
1) when disassembling at an address, sometimes I want to peek at the
code above.
could an option like 'd -<number of byte/instructions>' or just 'd -'
for a page above be added to allow moving back a bit in the disassembly?
You can already do that with:
d "pc-<bytes>"
The problem is that disassembly started at random offset can produce
garbage. There's no way to backtrack / sync instruction address either,
as long as one does not know what those instructions are.
If you enable debugger history, you get that information, if those
instructions were executed before debugger was entered.
Second patch adds debugger support for taking default disassembly
address (when re-entering debugger) from execution history when history
is enabled.