linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] : AArch64: KGDB support
@ 2013-10-18 11:07 vijay.kilari at gmail.com
  2013-10-18 11:07 ` [PATCH v3 1/4] arm64: support single-step and breakpoint handler hooks vijay.kilari at gmail.com
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: vijay.kilari at gmail.com @ 2013-10-18 11:07 UTC (permalink / raw)
  To: linux-arm-kernel

From: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>

Based on the step-handler and break-handler hooks patch from
Sandeepa (Patch 1), KGDB debugging support is added for EL1
debug in AArch64 mode. Any updates that come for Patch 1 from
Sandeepa will be rebased in next version

With second 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 third patch, step/next debugging support is added, where in
pc is updated to point to the instruction to be stepped and
stopped.

with fourth patch, the compile time breakpoint instruction
reordering is fixed by making kgbd_breakpoint() as noinline

v3:
 - Rebased to v4 version of Sandeepa Prabhu's patch (patch 1)
 - Made dynamic break point instruction encoding generic
 - Made ESR value encoding generic for dynamic and compile break point
 - Used memcpy and memset to copy register contents to gdb buffer
 - Fixed reordering of break point instruction by compiler with
   patch 3
 - Rebased against AAach64 upstream kernel

v2:
 - Moved break instruction encoding to debug-monitors.h file
 - Fixed endianess of compile break instruction encoding
 - Updated I/O buffer sizes
 - Updated register buffer size
 - Remove changes to debug_exception handler in entry.S for
 - ELR update and step debugging with update pc instead of ELR
 - Rebased against AArch64 upstream kernel

v1:
 - Initial patch-set

Tested with Aarch64 GDB tool chain on simulator

Sandeepa Prabhu (1):
  arm64: support single-step and breakpoint handler hooks

Vijaya Kumar K (3):
  AArch64: KGDB: Add Basic KGDB support
  AArch64: KGDB: Add step debugging support
  KGDB: make kgdb_breakpoint() as noinline

 arch/arm64/include/asm/debug-monitors.h |   67 +++++++
 arch/arm64/include/asm/kgdb.h           |   86 ++++++++
 arch/arm64/kernel/Makefile              |    1 +
 arch/arm64/kernel/debug-monitors.c      |   86 +++++++-
 arch/arm64/kernel/entry.S               |    2 +
 arch/arm64/kernel/kgdb.c                |  325 +++++++++++++++++++++++++++++++
 kernel/debug/debug_core.c               |    2 +-
 7 files changed, 567 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm64/include/asm/kgdb.h
 create mode 100644 arch/arm64/kernel/kgdb.c

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-11-04 11:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 11:07 [PATCH v3 0/4] : AArch64: KGDB support vijay.kilari at gmail.com
2013-10-18 11:07 ` [PATCH v3 1/4] arm64: support single-step and breakpoint handler hooks vijay.kilari at gmail.com
2013-10-18 11:07 ` [PATCH v3 2/4] AArch64: KGDB: Add Basic KGDB support vijay.kilari at gmail.com
2013-10-31  0:23   ` Will Deacon
2013-11-04  6:55     ` Vijay Kilari
2013-10-31  2:21   ` AKASHI Takahiro
2013-11-04 10:53     ` Vijay Kilari
2013-10-18 11:07 ` [PATCH v3 3/4] AArch64: KGDB: Add step debugging support vijay.kilari at gmail.com
2013-10-31  0:27   ` Will Deacon
2013-10-31  2:35   ` AKASHI Takahiro
2013-11-04 11:21     ` Vijay Kilari
2013-10-18 11:07 ` [PATCH v3 4/4] KGDB: make kgdb_breakpoint() as noinline vijay.kilari at gmail.com
2013-10-25 15:40   ` Will Deacon
2013-10-29  5:12     ` Vijay Kilari

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).