From: vijay.kilari@gmail.com (vijay.kilari at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 0/2] Aarch64: KGDB: kernel debugging support
Date: Mon, 16 Sep 2013 14:25:48 +0530 [thread overview]
Message-ID: <1379321750-907-1-git-send-email-vijay.kilari@gmail.com> (raw)
From: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Based on the step-handler and break-handler hooks patch
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-August/189510.html
KGDB debugging support is added for EL1 debug in Aarch64 mode
With first patch,register layout is updated to be inline with GDB tool.
Basic GDB connection, break point set/clear and info commands
are supported except step/next debugging
With second patch, step/next debugging support is added, where in
ELR_EL1 is updated to point to the instruction to be stepped and
stopped.
kernel exception handler exit macro in entry.S is update to
retain ELR value written by KGDB.
Tested with Aarch64 GDB tool chain on simulator
Vijaya Kumar K (2):
Aarch64: KGDB: Add Basic KGDB support
Aarch64: KGDB: Add Step debugging support
arch/arm64/include/asm/debug-monitors.h | 3 +
arch/arm64/include/asm/kgdb.h | 61 ++++++
arch/arm64/kernel/Makefile | 1 +
arch/arm64/kernel/debug-monitors.c | 15 ++
arch/arm64/kernel/entry.S | 9 +-
arch/arm64/kernel/kgdb.c | 323 +++++++++++++++++++++++++++++++
6 files changed, 411 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/include/asm/kgdb.h
create mode 100644 arch/arm64/kernel/kgdb.c
--
1.7.9.5
next reply other threads:[~2013-09-16 8:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-16 8:55 vijay.kilari at gmail.com [this message]
2013-09-16 8:55 ` [RFC PATCH 1/2] Aarch64: KGDB: Add Basic KGDB support vijay.kilari at gmail.com
2013-09-16 11:29 ` Will Deacon
2013-09-23 7:04 ` Vijay Kilari
2013-09-24 13:28 ` Will Deacon
2013-09-30 7:23 ` Vijay Kilari
2013-09-16 8:55 ` [RFC PATCH 2/2] Aarch64: KGDB: Add Step debugging support vijay.kilari at gmail.com
2013-09-16 11:30 ` Will Deacon
2013-09-16 13:06 ` Sandeepa Prabhu
2013-09-23 6:37 ` Vijay Kilari
2013-09-23 7:18 ` Sandeepa Prabhu
2013-09-16 11:23 ` [RFC PATCH 0/2] Aarch64: KGDB: kernel " Will Deacon
2013-09-16 12:58 ` Sandeepa Prabhu
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=1379321750-907-1-git-send-email-vijay.kilari@gmail.com \
--to=vijay.kilari@gmail.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).