From: Peng Fan Date: Sat, 1 Nov 2014 13:12:54 +0800 Subject: [U-Boot] [RFC PATCH v1 0/2] kgdb:add breakpoint and arm support Message-ID: <1414818776-4074-1-git-send-email-Peng.Fan@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- 1.8.4.5