Re: [hatari-devel] Re: DSP breakpoints

[ Thread Index | Date Index | More Archives ]


On sunnuntai 24 elokuu 2014, Douglas Little wrote:
> One more thing that would be useful - a way to invoke a soft or hard
> reset from the debugger console. This makes it possible to set up some
> generic DSP breakpoints, invoke a reset and then hit 'c' to continue
> through the reset and reload the program, without having to exit Hatari.

Added.  I'm not sure how well this works from debugger scripts.
Reset command will automatically exit debugger.

	- Eero

> Otherwise it's necessary to exit Hatari if a DSP program becomes
> corrupted because attempts to continue cause the console to be invoked
> immediately with illegal instruction exceptions. There might be another
> way to recover from this (like disabling debugger exceptions from the
> console) but I don't see what it might be. Disabling debugger exceptions
> just cause other problems anyway - like infinite console prints during
> which Hatari stops responding.
> D
> On 24 August 2014 12:45, Douglas Little <doug694@xxxxxxxxxxxxxx> wrote:
> > I think I asked this before and probably got an answer, but now I can't
> > find the answer in mail history or the debugger docs :-/ so I'm asking
> > again.
> > 
> > I'm trying to use the '--exceptions <list> -D' feature to control the
> > events which activate the debugger console. However placing
> > --exceptions on the commandline causes Hatari to fail to start - it
> > doesn't recognize the command.
> > 
> > Was this feature included in the main release or was the syntax changed
> > since it was added?
> > 
> > 
> > Also, I think a new DSP debugging feature was added some months back
> > (by Eero?) which lets you print the contents of the 16-word DSP stack.
> > I can't seem to find this in the help or docs. It's really useful to
> > have if the DSP crashes.
> > 
> > D

Mail converted by MHonArc 2.6.19+