Re: [hatari-devel] debugger suggestions

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]




On 26.4.2022 1.24, Eero Tamminen wrote:
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.

Nobody commented on the patch, but I've been running with for a while without issues, so I pushed it in.


	- Eero




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/