Re: [hatari-devel] VBR as a breakpoint condition

[ Thread Index | Date Index | More Archives ]

On Thu, 6 Sep 2018 at 22:36, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
Please try the attached patch.

Assuming VBR, and rest of the special regs I added, don't
need any special access functions (like SR & PC need),
they "should" work fine with just that.
And they do! Thank you very much.

Only downside to adding new regs to debugger is if their
names would conflict with some program debug symbols,
because register names take always precedence over debug
symbols in the Hatari debugger.
As Thorsten said, for normal asm programs this doesn't matter (you couldn't use such label) and for C compiled programs you'd need a compiler which doesn't use an assembler as the last step to make this happen (otherwise that assembler would complain too). So I think we are safe. :)

MiKRO / Mystic Bytes

Mail converted by MHonArc 2.6.19+