Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.powerpc.tech > #7
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail |
|---|---|
| From | Rob Windgassen <rwindgas@xs4all.nl> |
| Subject | Re: using iabr on powerpc (e300) |
| Newsgroups | comp.sys.powerpc.tech |
| References | <c40bcae8-70da-419b-9fcb-2f3bda340f79@k10g2000pbk.googlegroups.com> |
| User-Agent | Pan/0.134 (Wait for Me; GIT cb32159 master) |
| Message-ID | <pan.2012.04.13.22.33.06@xs4all.nl> (permalink) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Date | 13 Apr 2012 22:33:06 GMT |
| Lines | 27 |
| NNTP-Posting-Host | 82.95.158.115 |
| X-Trace | 1334356386 dreader36.news.xs4all.nl 3988 82.95.158.115:56647 |
| Xref | csiph.com comp.sys.powerpc.tech:7 |
Show key headers only | View raw
On Thu, 12 Apr 2012 21:41:10 -0700, sid_itsme wrote:
> im trying to use the inst breakpoint register (iabr) but there doesn
> seem to be any activity when that address is reached
>
> the code im using is
>
> asm ("msync; isync");
> asm volatile ("mtspr 1010,%0;" : : "r"(val)); asm ("isync");
> asm ("isync");
>
> Is this right?
> is there someother way to achieve this?
I've no experience with this, but did you set the breakpoint enable bit?
i.e.
#define IABR_BE 0x2
val = inst_address | IABR_BE;
asm volatile ("mtspr 1010,%0;" : : "r"(val));
asm volatile ("isync");
<etc>
and are you sure that the proper address is used?
Rob
Back to comp.sys.powerpc.tech | Previous | Next — Previous in thread | Next in thread | Find similar
using iabr on powerpc (e300) sid_itsme <siddhartha.v.bajaj@gmail.com> - 2012-04-12 21:41 -0700 Re: using iabr on powerpc (e300) Rob Windgassen <rwindgas@xs4all.nl> - 2012-04-13 22:33 +0000 Re: using iabr on powerpc (e300) Sakthi <karthikeyan24.shan@gmail.com> - 2012-12-21 03:50 -0800
csiph-web