patch-2.3.13 linux/arch/arm/kernel/ptrace.c
Next file: linux/arch/arm/kernel/signal.c
Previous file: linux/arch/arm/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Mon Aug 2 10:19:52 1999
- Orig file:
v2.3.12/linux/arch/arm/kernel/ptrace.c
- Orig date:
Wed Jul 21 15:46:48 1999
diff -u --recursive --new-file v2.3.12/linux/arch/arm/kernel/ptrace.c linux/arch/arm/kernel/ptrace.c
@@ -28,7 +28,7 @@
/*
* this routine will get a word off of the processes privileged stack.
- * the offset is how far from the base addr as stored in the TSS.
+ * the offset is how far from the base addr as stored in the THREAD.
* this routine assumes that all the privileged stacks are in our
* data space.
*/
@@ -43,7 +43,7 @@
/*
* this routine will put a word on the processes privileged stack.
- * the offset is how far from the base addr as stored in the TSS.
+ * the offset is how far from the base addr as stored in the THREAD.
* this routine assumes that all the privileged stacks are in our
* data space.
*/
@@ -334,7 +334,7 @@
int ptrace_set_bpt (struct task_struct *child)
{
- struct debug_info *dbg = &child->tss.debug;
+ struct debug_info *dbg = &child->thread.debug;
unsigned long insn, pc, alt;
int res;
@@ -363,7 +363,7 @@
*/
int ptrace_cancel_bpt (struct task_struct *child)
{
- struct debug_info *dbg = &child->tss.debug;
+ struct debug_info *dbg = &child->thread.debug;
unsigned long tmp;
int i, nsaved = dbg->nsaved;
@@ -514,7 +514,7 @@
ret = -EIO;
if ((unsigned long) data > _NSIG)
goto out;
- child->tss.debug.nsaved = -1;
+ child->thread.debug.nsaved = -1;
child->flags &= ~PF_TRACESYS;
wake_up_process(child);
child->exit_code = data;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)