Re: [hatari-devel] Debugger 'n' command

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


On 9 Apr 2016 at 18:33, Nicolas Pomarède wrote:
>
> monst has ctr+t which handle bsr/jsr/trap/..., but not ctrl+n (according
> to devpac3 doc).
>
> This could be possible to add, the logic would be similar to 'n' command
> : runs until pc reaches the next instruction after the current "DBcc"
> instruction.
>
> So if current instruction is not bsr/jsr/trap/dbcc, run for just 1
> instruction, else run until pc points just after the current branch
> instruction (so having 'n' handles dbcc like othe bsr/jsr/trap should
> not require too much code).
>
MonTT (probably MonST too) has ctrl-A which adds a temporary breakpoint just
after the current instruction.  So if you're at a DBRA, you can run the loop
(assuming there are no premature exits) by typring ctrl-A.

Roger




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