Skip to content
Snippets Groups Projects
  • Mike Frysinger's avatar
    edeafa74
    asm-generic/ptrace.h: start a common low level ptrace helper · edeafa74
    Mike Frysinger authored
    
    This is a series of low level ptrace unification steps to make it easier
    for common code (like KGDB) to poke at register state.  This also avoids
    having to duplicate higher level operations for most ports which don't
    have special needs for accessing things.
    
    This patch:
    
    This implements a bunch of helper funcs for poking the registers of a
    ptrace structure.  Now common code should be able to portably update
    specific registers (like kgdb updating the PC).
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Cc: Sergei Shtylyov <sshtylyov@mvista.com>
    Cc: Dongdong Deng <dongdong.deng@windriver.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    edeafa74
    History
    asm-generic/ptrace.h: start a common low level ptrace helper
    Mike Frysinger authored
    
    This is a series of low level ptrace unification steps to make it easier
    for common code (like KGDB) to poke at register state.  This also avoids
    having to duplicate higher level operations for most ports which don't
    have special needs for accessing things.
    
    This patch:
    
    This implements a bunch of helper funcs for poking the registers of a
    ptrace structure.  Now common code should be able to portably update
    specific registers (like kgdb updating the PC).
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Cc: Sergei Shtylyov <sshtylyov@mvista.com>
    Cc: Dongdong Deng <dongdong.deng@windriver.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.