Re: [hatari-devel] view the DSP stack?

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


Hi,

On perjantai 15 helmikuu 2013, Laurent Sallafranque wrote:
> Sorry, something like dr sp  not dd sp

I decided to add separate "info dsp" command as there seemed
to be quite a bit of other DSP core information that isn't
shown by the other debugger DSP commands:
http://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/3ddc10dc970f

Current output looks like this:
---------------
> info dsp 
DSP core information:
- SSH stack: 0000 0000 004e 0000 0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000
- SSL stack: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000
- Interrupt IPL: 0003 0003 0003 0003 0003 0002 0002 0002 ffff ffff ffff ffff
- Pending ints:  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
- Hostport: 00 12 06 0f 00 00 00 00 00 00 00 04
---------------

If you need something else, just add it to dsp.c::Debug_Info() function.
:-)


	- Eero


> My fault.
> 
> Laurent
> 
> Le 14/02/2013 23:46, Laurent Sallafranque a écrit :
> > Doug's asking is interresting.
> > Actually, it's not possible to see the stack, but it should be easy to
> > add this.
> > 
> > Something like dd sp that would display the 16 values of the stack.
> > 
> > PS: Doug, I still have a patch ready to be send for the DSP timings,
> > but I'd like to be sure there's a problem before sending it.
> > 
> > 
> > Laurent
> > 
> > Le 14/02/2013 23:25, Eero Tamminen a écrit :
> >> Hi,
> >> 
> >> On torstai 14 helmikuu 2013, Douglas Little wrote:
> >>> Is there a way to view the contents of the limited DSP stack (e.g.
> >>> call return addresses) in the DSP debugger? I suddenly have a need
> >>> for it.
> >> 
> >> dr (dspreg) command lists the DSP register values, including SP.
> >> 
> >> But looking at the DSP sources, it seems that DSP stack is in
> >> separate memory.  Maybe stack content should be shown also
> >> by the "dr" command.
> >> 
> >> Laurent, any comments?
> >> 
> >>     - Eero




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