From: Will Deacon Date: Fri, 3 Sep 2010 09:42:55 +0000 (+0100) Subject: ARM: 6357/1: hw-breakpoint: add new ptrace requests for hw-breakpoint interaction X-Git-Tag: v2.6.37-rc1~184^2~7^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864232fa1a2f8dfe003438ef0851a56722740f3e;p=pandora-kernel.git ARM: 6357/1: hw-breakpoint: add new ptrace requests for hw-breakpoint interaction For debuggers to take advantage of the hw-breakpoint framework in the kernel, it is necessary to expose the API calls via a ptrace interface. This patch exposes the hardware breakpoints framework as a collection of virtual registers, accesible using PTRACE_SETHBPREGS and PTRACE_GETHBPREGS requests. The breakpoints are stored in the debug_info struct of the running thread. Cc: Frederic Weisbecker Cc: S. Karthikeyan Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed