From owner-freebsd-toolchain@FreeBSD.ORG Fri Apr 1 02:57:18 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF59C1065670 for ; Fri, 1 Apr 2011 02:57:18 +0000 (UTC) (envelope-from rejithomas.d@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7137A8FC0C for ; Fri, 1 Apr 2011 02:57:18 +0000 (UTC) Received: by gxk28 with SMTP id 28so1451060gxk.13 for ; Thu, 31 Mar 2011 19:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=iboVMc+sYOmFKnUTgV0sSZCk45iz3PodTv3CnwemWiY=; b=xz9CTlv2mezciGRpcn+VH9W2islmqmupjq6cbF5kgyOQLEgwpGnxY2a1YlnRdUC3R3 EWIKYIphUJx3q0cMq761Xw9yHxJfw72tnLgyAuM7rHJAqUEty0o2IjxCzn02jZwanmXp EcBrlkitLcy7xRFqIVjsaqNS88C7jCnDSmEmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gGTmbXtkvkcV/5371cejTROVCH7HJ6Ag2RHtVOr/qJKxdGV1nP0UDKijkSiJ3Urdeh M8beg75VMop1znxrezd8ec9iBp8WGLKXkj7eKZjuUAFFDXEi6ZIARNQekimruXqT82uB FHtciC09DlOjyzauQbI3dHCM3eKt9ux7Wi6us= MIME-Version: 1.0 Received: by 10.150.65.8 with SMTP id n8mr3397347yba.62.1301625085547; Thu, 31 Mar 2011 19:31:25 -0700 (PDT) Received: by 10.151.39.3 with HTTP; Thu, 31 Mar 2011 19:31:25 -0700 (PDT) Date: Fri, 1 Apr 2011 08:01:25 +0530 Message-ID: From: Reji Thomas To: freebsd-toolchain@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Issue with ctrl-c in kgdb X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 02:57:18 -0000 Hope this is the right mailing list. I am facing an issue with ctrl-c behaviour in kgdb. ctrl-c doesnt break kgdb back into the kgdb prompt. I have set "set remote break 1" and enabled the debugs ( pasted below). Looks like remote_stop is called but after that nothing happens on the client side ( does server side return an ack?). Can someone please help me on how to get this working? Version :GNU gdb 6.1.1 [FreeBSD] (kgdb) set remotebreak 1 (kgdb) c Continuing. Sending packet: $m30c310d4,1#bc...Ack Packet received: be Sending packet: $M30c310d4,1:cc#9c...Ack Packet received: OK Sending packet: $c#63...Ack ^Cremote_interrupt called remote_stop called ^CInterrupted while waiting for the program. Give up (and stop debugging it)? (y or n) y (kgdb) quit --Reji