Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be6514c6 authored by Kieran Bingham's avatar Kieran Bingham Committed by Paul Mundt
Browse files

sh: Add in some ptrace definitions from GDB.



Plugs in PT_TEXT_END_ADDR/PT_TEXT_ADDR/PT_DATA_ADDR/PT_TEXT_LEN
definitions.

Signed-off-by: default avatarKieran Bingham <kieranbingham@gmail.com>
Signed-off-by: default avatarPeter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 168f3623
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -102,6 +102,11 @@ struct pt_dspregs {
#define	PTRACE_GETDSPREGS	55	/* DSP registers */
#define	PTRACE_SETDSPREGS	56

#define PT_TEXT_END_ADDR 	240
#define PT_TEXT_ADDR 		244	/* &(struct user)->start_code */
#define PT_DATA_ADDR 		248	/* &(struct user)->start_data */
#define PT_TEXT_LEN		252

#ifdef __KERNEL__
#include <asm/addrspace.h>