From f4d8611049b6a0e69973f263c93e4c71c854be82 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Fri, 6 Feb 2004 03:45:05 -0800 Subject: [PATCH] New ptrace.h definitions ARM added a definition for PT_SINGLESTEP which conflicted with our definition. So define PT_SINGLESTEP_BIT, PT_BLOCKSTEP_BIT and PT_BLOCKSTEP to prevent similar problems in the future. (James Bottomley) --- include/linux/ptrace.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 91a309f8a0a1..53132cd80429 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -65,7 +65,12 @@ #define PT_TRACE_EXIT 0x00000200 #define PT_TRACE_MASK 0x000003f4 -#define PT_SINGLESTEP 0x80000000 /* single stepping (used on ARM) */ + +/* single stepping state bits (used on ARM and PA-RISC) */ +#define PT_SINGLESTEP_BIT 31 +#define PT_SINGLESTEP (1< /* For unlikely. */ #include /* For struct task_struct. */ -- cgit v1.2.3