[hatari-devel] something not working with breakpoints ?

Eero Tamminen eerot at users.berlios.de
Sat Sep 5 20:41:00 CEST 2009


Hi,

On Saturday 05 September 2009, npomarede at corp.free.fr wrote:
> I'm trying to take two on debug fusion cd 32, but I can't succeed to have
> a breakpoint triggered.
>
> I run hatari --debug, then :
> > b ( $44c).b = $fc
>
> CPU condition breakpoint 1 with 1 condition(s) added.
>
> > m $44c
>
> 00044C: 00 00 00 1f 80 00 00 00 00 08 00 00 04 ce 00 00  
> .............Î..
>
> > c
>
> Returning to emulation...
> Inserted disk '/home/npomarede/Emul/ST/Games/Fuzion CD 032
> (1991)(Fuzion).st' to drive A:.
> Detected scancode offset = 8 (key: 'f2' with scancode $44)
>
> -> no breakpoint, I press alt + pause
>
> CPU=$fcb740, VBL=358, FrameCycles=72, HBL=0, LineCycles=72, DSP=N/A
>
> > m $44c
>
> 00044C: fc 00 00 1f 80 00 00 01 00 08 00 00 04 ce 00 00  
> ü............Î..
>
> > b
>
> 1 conditional CPU breakpoints:
>    1: ( $44c ) . b = $fc

Works fine for me:
--------------
> w $44c $fc
> c
Returning to emulation...
(0x44c).b = 0xfc
1. breakpoint '( $44c ) . b = $fc' conditions matched.
> m $44c
00044C: fc 00 00 3f 80 00 00 01 00 08 00 00 04 ce 00 00   ...?............
-------------

Could you try the attached patch and check that you see some output?


> The breakpoint seems ok, but it didn't triggered (I have same problem
> when I use a + addr, no breakpoint happens)
>
> Any idea ? A change in some compilation flag/define ?


	- Eero

-------------- next part --------------
A non-text attachment was scrubbed...
Name: breakcond-test.diff
Type: text/x-diff
Size: 417 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20090905/49591321/attachment.diff>


More information about the hatari-devel mailing list