From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24028 invoked by alias); 27 Jan 2012 03:17:34 -0000 Received: (qmail 24020 invoked by uid 22791); 27 Jan 2012 03:17:33 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from ch1ehsobe003.messaging.microsoft.com (HELO ch1outboundpool.messaging.microsoft.com) (216.32.181.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jan 2012 03:17:13 +0000 Received: from mail94-ch1-R.bigfish.com (10.43.68.247) by CH1EHSOBE012.bigfish.com (10.43.70.62) with Microsoft SMTP Server id 14.1.225.23; Fri, 27 Jan 2012 03:17:12 +0000 Received: from mail94-ch1 (localhost [127.0.0.1]) by mail94-ch1-R.bigfish.com (Postfix) with ESMTP id 2EBF7E0193 for ; Fri, 27 Jan 2012 03:17:12 +0000 (UTC) X-SpamScore: -1 X-BigFish: VPS-1(zz4015Lzz1202hzzz2dhc1bhc31hc1ah2a8h668h839h8e2h8e3h944hbe9k) X-Forefront-Antispam-Report: CIP:59.163.77.45;KIP:(null);UIP:(null);IPV:NLI;H:Outbound.kpitcummins.com;RD:59.163.77.45.static.vsnl.net.in;EFVD:NLI Received: from mail94-ch1 (localhost.localdomain [127.0.0.1]) by mail94-ch1 (MessageSwitch) id 132763423073818_18922; Fri, 27 Jan 2012 03:17:10 +0000 (UTC) Received: from CH1EHSMHS025.bigfish.com (snatpool3.int.messaging.microsoft.com [10.43.68.227]) by mail94-ch1.bigfish.com (Postfix) with ESMTP id 031A8160049 for ; Fri, 27 Jan 2012 03:17:10 +0000 (UTC) Received: from Outbound.kpitcummins.com (59.163.77.45) by CH1EHSMHS025.bigfish.com (10.43.70.25) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 27 Jan 2012 03:17:09 +0000 Received: from KCHJEXMB01.kpit.com ([169.254.1.242]) by KCHJEXHC01.kpit.com ([172.10.15.73]) with mapi id 14.01.0255.000; Fri, 27 Jan 2012 08:44:59 +0530 From: Kaushik Phatak To: "gdb@sourceware.org" Subject: RE: GDB and gdbserver for CR16 target Date: Fri, 27 Jan 2012 03:17:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: kpitcummins.com Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00086.txt.bz2 Hi, Making further progress with the gdbserver for CR16 target, it seems that t= he PTRACE_CONT is killing the debugee with SIGKILL, "Child terminated with signal =3D 9" The ATTACH and other ptrace calls seem to work OK. Our Kernel is 2.6.19 (uC= linux) I did read in some discussions lists, issues related to PTRACE_CONT, however could not conclude much from it. The PTRACE_CONT implementation in the kernel is very similar to other targe= ts like SH. Any inputs in this regard would be highly appreciated. Thanks, Kaushik