aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/ptrace.h
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-30 19:16:45 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-30 19:16:45 -0400
commitada47b5fe13d89735805b566185f4885f5a3f750 (patch)
tree644b88f8a71896307d71438e9b3af49126ffb22b /arch/m68k/include/asm/ptrace.h
parent43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff)
parent3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff)
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/m68k/include/asm/ptrace.h')
-rw-r--r--arch/m68k/include/asm/ptrace.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/ptrace.h b/arch/m68k/include/asm/ptrace.h
index 8c9194b98548..6e6e3ac1d913 100644
--- a/arch/m68k/include/asm/ptrace.h
+++ b/arch/m68k/include/asm/ptrace.h
@@ -71,6 +71,10 @@ struct switch_stack {
71#define PTRACE_GETFPREGS 14 71#define PTRACE_GETFPREGS 14
72#define PTRACE_SETFPREGS 15 72#define PTRACE_SETFPREGS 15
73 73
74#define PTRACE_GET_THREAD_AREA 25
75
76#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
77
74#ifdef __KERNEL__ 78#ifdef __KERNEL__
75 79
76#ifndef PS_S 80#ifndef PS_S
@@ -82,6 +86,13 @@ struct switch_stack {
82#define instruction_pointer(regs) ((regs)->pc) 86#define instruction_pointer(regs) ((regs)->pc)
83#define profile_pc(regs) instruction_pointer(regs) 87#define profile_pc(regs) instruction_pointer(regs)
84extern void show_regs(struct pt_regs *); 88extern void show_regs(struct pt_regs *);
89
90#define arch_has_single_step() (1)
91
92#ifdef CONFIG_MMU
93#define arch_has_block_step() (1)
94#endif
95
85#endif /* __KERNEL__ */ 96#endif /* __KERNEL__ */
86#endif /* __ASSEMBLY__ */ 97#endif /* __ASSEMBLY__ */
87#endif /* _M68K_PTRACE_H */ 98#endif /* _M68K_PTRACE_H */