Skip to content

Changes to PowerPC ptrace flags using watchpoints

K.Prasad linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Use generic hw-breakpoint interfaces for new PPC ptrace flagsDocumentation/powerpc/ptrace.txt arch/powerpc/kernel/ptrace.c+112 -811 replies
2/2Introduce new ptrace debug feature flagarch/powerpc/include/asm/ptrace.h arch/powerpc/kernel/ptrace.c+2 -07 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchEdjunior Barbosa Machado
1/2T-b T-b T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Changes to PowerPC ptrace flags using watchpoints

Hi All,
Please find a set of two patches that introduce generic
hw-breakpoint interfaces for a couple of ptrace flags used by server-class processors and another change to advertise a feature to user-space hitherto available and used, but not claimed as supported.

GDB, which recently began using the PPC_PTRACE_GETHWDBGINFO/PPC_PTRACE_SETHWDEBUG/PPC_PTRACE_DELHWDEBUG flags on BookS processors is presently unable to set watchpoints. The changes in Patch1, will fix that issue and help it use a common set of code across BookE and BookS.

K.Prasad (2):
[hw-breakpoint] Use generic hw-breakpoint interfaces for new PPC
ptrace flags
[PowerPC Book3E] Introduce new ptrace debug feature flag

 Documentation/powerpc/ptrace.txt  |   16 ++++++
 arch/powerpc/include/asm/ptrace.h |    1 +
 arch/powerpc/kernel/ptrace.c      |  105
++++++++++++++++++++++++++++++++++---
 3 files changed, 114 insertions(+), 8 deletions(-)

Thanks,
K.Prasad