-------- Original-Nachricht --------
> Datum: Fri, 1 Aug 2008 13:20:10 +0200
> Von: "Øyvind Harboe" <[EMAIL PROTECTED]>
> An: "Magnus Lundin" <[EMAIL PROTECTED]>
> CC: Openocd-Dev <[email protected]>
> Betreff: Re: [Openocd-development] arm7_9 sw_bkpts enable

> On Fri, Aug 1, 2008 at 1:16 PM, Magnus Lundin <[EMAIL PROTECTED]> wrote:
> > Øyvind Harboe wrote:
> >>> We can with no ill effects, I hope, add breakpoints with the target
> >>> running, both swbk and hwbk.
> >>>
> >>
> >> It must also work with a powered down target.
> >>
> >> I.e. configuration of breakpoints must be strictly seperated from the
> activation
> >> of breakpoints.
> >>
> >>
> > If we do not check the halt state when adding a breakpoint then this is
> > true. The check comes
> > on resume, and resume is meaningless for a powered down target. Removal
> > we have to think about.
> >
> > What is the reported state of a powered down target ?
> 
> Upon a powered down target you will not get a reliable result, only
> failed communication in general.
> 
> I guess I want(like gdb?) to add all breakpoints on resume and remove them
> upon detected halt.
> 
> Configuration of breakpoints should not touch the hardware.

That would slow down single-step or halt/resume operation.

-- 
--
Dominic Rath <[EMAIL PROTECTED]>

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to