Skip to content

RFC kgdb:add breakpoint and arm support

Peng Fan u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kgdb: add breakpoint supportcommon/kgdb.c include/kgdb.h+308 -02 replies
2/2arm:kgdb add KGDB support for arm platformarch/arm/include/asm/proc-armv/ptrace.h arch/arm/include/asm/signal.h arch/arm/lib/Makefile +5 more+312 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH v1 0/2] kgdb:add breakpoint and arm support

There were patches about this part before, such as
http://lists.denx.de/pipermail/u-boot/2010-April/069592.html
https://www.mail-archive.com/u-boot at lists.denx.de/msg13464.html And I reference that piece of code.

I have verified this patch set on freescale mx6sxsabresd revb board. Because the board related kgdb serial code is not fine for patch review, I just sent out the common code for review.

I am not sure whether this patch set will break other platform's kgdb support or not, so request for comment.

Peng Fan (2):
kgdb: add breakpoint support
arm:kgdb add KGDB support for arm platform

 arch/arm/include/asm/proc-armv/ptrace.h |   2 +-
 arch/arm/include/asm/signal.h           |   1 +
 arch/arm/lib/Makefile                   |   3 +
 arch/arm/lib/crt0.S                     |   4 +
 arch/arm/lib/interrupts.c               |  24 +++
 arch/arm/lib/kgdb/kgdb.c                | 231 +++++++++++++++++++++++++++
 arch/arm/lib/kgdb/setjmp.S              |  20 +++
 arch/arm/lib/vectors.S                  |  28 ++++
 common/kgdb.c                           | 273 ++++++++++++++++++++++++++++++++
 include/kgdb.h                          |  35 ++++
 10 files changed, 620 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/include/asm/signal.h
 create mode 100644 arch/arm/lib/kgdb/kgdb.c
 create mode 100644 arch/arm/lib/kgdb/setjmp.S
Signature · 1 line
1.8.4.5