9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: [9fans] arm breakpoints
Date: Sun,  6 Jan 2013 15:02:57 +0000	[thread overview]
Message-ID: <20d785988fd83e4ec3210d7035d8d0c1@hamnavoe.com> (raw)

I had a surprise when I tried to debug a user process on the raspberry pi.
The first time it hit a breakpoint, the kernel panicked.  Oops.

It turns out than on armv6 (and armv7, I think) the breakpoint instruction
causes a Prefetch Abort exception, instead of Undefined Instruction as on
previous arm architectures.

I've updated the rpi kernel source to deal with this.  I wonder if
somebody with plan 9 on an armv7 system (omap or teg2) could check
whether the same panic occurs there too?




             reply	other threads:[~2013-01-06 15:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-06 15:02 Richard Miller [this message]
2013-01-06 22:28 ` David du Colombier
2013-01-07 10:43   ` Richard Miller
2013-01-07 19:05     ` David du Colombier
2013-01-08 11:04       ` Richard Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20d785988fd83e4ec3210d7035d8d0c1@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).