>From 71ed53b3d56568e04c4ebeb487d6c92cbe20dc57 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <[email protected]>
Date: Mon, 11 Jan 2010 17:51:48 +0100
Subject: [PATCH] Don't kill the process when detaching

* strace.c (detach): Call clearbpt when TCB_BPTSET is set.
---
 strace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/strace.c b/strace.c
index d236516..23c3650 100644
--- a/strace.c
+++ b/strace.c
@@ -1540,7 +1540,7 @@ int sig;
 #endif
 
        if (tcp->flags & TCB_BPTSET)
-               sig = SIGKILL;
+               clearbpt(tcp);
 
 #ifdef LINUX
        /*
-- 
1.6.6


Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to