summaryrefslogtreecommitdiff
path: root/arch/mips/include
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-18 11:57:44 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-18 11:57:44 +0100
commitb0c2793bad0b5f10be2fc5f56df827e0c1bbf4af (patch)
tree24804eddf68937e1f6022e703393248c4da87dbc /arch/mips/include
parentfa07eca8d8c6567e0f5a8d36dcf776fa0aa2f6f4 (diff)
Revert "MIPS: Add basic support for ptrace single step"
This reverts commit 7c86ff9925cbc83e8a21f164a8fdc2767e03531e. There are too many special cases for MIPS not covered by this patch. In the end it might be better to implement single stepping in userland than emulating it in the kernel. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/ptrace.h2
-rw-r--r--arch/mips/include/asm/thread_info.h5
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h
index c733daefd015..daf3cf244ea9 100644
--- a/arch/mips/include/asm/ptrace.h
+++ b/arch/mips/include/asm/ptrace.h
@@ -186,6 +186,4 @@ static inline void user_stack_pointer_set(struct pt_regs *regs,
regs->regs[29] = val;
}
-#define arch_has_single_step() (1)
-
#endif /* _ASM_PTRACE_H */
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index bd4dbb5b2900..e2c352da3877 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -35,10 +35,6 @@ struct thread_info {
*/
struct pt_regs *regs;
long syscall; /* syscall number */
-
- int bpt_nsaved;
- unsigned long bpt_addr[1]; /* breakpoint handling */
- unsigned int bpt_insn[1];
};
/*
@@ -121,7 +117,6 @@ static inline struct thread_info *current_thread_info(void)
#define TIF_UPROBE 6 /* breakpointed or singlestepping */
#define TIF_NOTIFY_SIGNAL 7 /* signal notifications exist */
#define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */
-#define TIF_SINGLESTEP 10 /* restore singlestep on return to user mode */
#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */
#define TIF_MEMDIE 18 /* is terminating due to OOM killer */
#define TIF_NOHZ 19 /* in adaptive nohz mode */