Re: [hatari-devel] Debugger question

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


Hi,

(Sorry for late reply, my ISP SMTP server has some problems.)

On 12/04/2015 12:12 PM, laurent.sallafranque@xxxxxxx wrote:
I'd like to see the content of a specific register into the console without breaking while my code runs.

I mean something like :

b pc=$xxxxxx : trace : lock

with lock = something like

lock reg d0

Is there a way to do this ?

You can print all registers with:
	lock dspregs
	b <condition> :lock

(lock option implicitly enables tracing.)


But I actually prefer just putting into file anything
I want to get done on breakpoint, and then using:
	b <condition> :trace :file <filename>

As to showing just a single register value, while
CPU "r" (registers) command supports that, DSP "dr"
(dspregs) command currently supports just setting
value to given register or showing all registers'
values.


If you just want to see when register value changes,
use:
	b r0 ! r0 :trace :quiet


	- Eero



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