public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Alpha ptrace.c
@ 2004-03-04 16:00 Aneesh Kumar KV
  2004-03-04 16:28 ` Måns Rullgård
  0 siblings, 1 reply; 3+ messages in thread
From: Aneesh Kumar KV @ 2004-03-04 16:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: ink, rth

[-- Attachment #1: Type: text/plain, Size: 49 bytes --]

This patch was acknowledged by Richard

-aneesh


[-- Attachment #2: ptrace.c.diff --]
[-- Type: text/plain, Size: 926 bytes --]

*** linux-2.6.4-rc2/arch/alpha/kernel/ptrace.c	Thu Mar  4 01:17:04 2004
--- linux-2.6.4-rc2/arch/alpha/kernel/ptrace.c.n	Thu Mar  4 10:55:07 2004
***************
*** 367,378 ****
  		if ((unsigned long) data > _NSIG)
  			break;
  		/* Mark single stepping.  */
  		child->thread_info->bpt_nsaved = -1;
  		clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
- 		wake_up_process(child);
  		child->exit_code = data;
  		/* give it a chance to run. */
  		ret = 0;
  		goto out;
  
  	case PTRACE_DETACH:	 /* detach a process that was attached. */
--- 367,378 ----
  		if ((unsigned long) data > _NSIG)
  			break;
  		/* Mark single stepping.  */
  		child->thread_info->bpt_nsaved = -1;
  		clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
  		child->exit_code = data;
+ 		wake_up_process(child);
  		/* give it a chance to run. */
  		ret = 0;
  		goto out;
  
  	case PTRACE_DETACH:	 /* detach a process that was attached. */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Alpha ptrace.c
  2004-03-04 16:00 [PATCH] Alpha ptrace.c Aneesh Kumar KV
@ 2004-03-04 16:28 ` Måns Rullgård
  0 siblings, 0 replies; 3+ messages in thread
From: Måns Rullgård @ 2004-03-04 16:28 UTC (permalink / raw)
  To: linux-kernel

Aneesh Kumar KV <aneesh.kumar@digital.com> writes:

> This patch was acknowledged by Richard

And what is the purpose of it?

-- 
Måns Rullgård
mru@kth.se


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Alpha ptrace.c
       [not found] ` <fa.cg0ffsb.l402hh@ifi.uio.no>
@ 2004-03-04 16:33   ` Aneesh Kumar KV
  0 siblings, 0 replies; 3+ messages in thread
From: Aneesh Kumar KV @ 2004-03-04 16:33 UTC (permalink / raw)
  To: mru; +Cc: linux-kernel

Måns Rullgård wrote:
> Aneesh Kumar KV <aneesh.kumar@digital.com> writes:
> 
> 
>>This patch was acknowledged by Richard
> 
> 
> And what is the purpose of it?
> 


I guess exit_code should be set before we wake_up the child.

-aneesh



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-04 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 16:00 [PATCH] Alpha ptrace.c Aneesh Kumar KV
2004-03-04 16:28 ` Måns Rullgård
     [not found] <fa.cc73a44.1fjgqpi@ifi.uio.no>
     [not found] ` <fa.cg0ffsb.l402hh@ifi.uio.no>
2004-03-04 16:33   ` Aneesh Kumar KV

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox