This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot breakpoint question.Thanks
- From: Mark Salter <msalter at redhat dot com>
- To: jameshq at liverpool dot ac dot uk
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 28 Jan 2003 11:36:41 -0500 (EST)
- Subject: Re: [ECOS] Redboot breakpoint question.Thanks
- References: <BDEPKKELILOKGOAOMONOCEDFCBAA.jameshq@liv.ac.uk>
>>>>> 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