From: jason.wessel@windriver.com (Jason Wessel)
To: linux-arm-kernel@lists.infradead.org
Subject: [Kgdb-bugreport] Anyone used KDB single-stepping on ARM
Date: Tue, 13 Dec 2011 13:41:00 -0600 [thread overview]
Message-ID: <4EE7AA4C.2050605@windriver.com> (raw)
In-Reply-To: <4E95D13C.2090109@am.sony.com>
On 10/12/2011 12:41 PM, Tim Bird wrote:
> I've tried to use single-stepping ('ss' command) on ARM
> from KDB, without success.
>
> Has anyone done this - is it currently supported on ARM?
It is only supported via patches that are not in the mainline kernel the same is also true of the MIPS architecture.
The last consideration I had taken a look at was to consider using the kprobes for single stepping, assuming kprobes work ok on ARM, vs using emulation of single stepping with breakpoints.
The other possibility for newer arm hardward (v7 and up) is to use the hw_breakpoint API and plumb it into kdb/kgdb via the arch/arm/kernel/kgdb.c. It is probably time to take another look at this now since it was merged to the mainline in the last year.
Jason.
next prev parent reply other threads:[~2011-12-13 19:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 17:41 Anyone used KDB single-stepping on ARM Tim Bird
2011-12-13 19:41 ` Jason Wessel [this message]
2011-12-13 21:56 ` [Kgdb-bugreport] " Tim Bird
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=4EE7AA4C.2050605@windriver.com \
--to=jason.wessel@windriver.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).