This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redboot breakpoint question.Thanks


>>>>> Qiang Huang writes:

> Hi all:
>    Does the redboot use any exception ( in the ARM vector table address from
> 0x00 ~ 0x1c)  for setting the breakpoint in a ecos program?

> Thanks. If possible could anyone give a little detail about how this is
> achieved? thanks

RedBoot/GDB use an illegal instruction for software breakpoints. So,
that means RedBoot needs the undefined instruction exception vector.
RedBoot will also report data/prefetch aborts. XScale will overload
one of the aborts (I forget which one) for hardware breakpoints and
watchpoints.

--Mark

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]