From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11289 invoked by alias); 18 Mar 2014 20:52:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 11232 invoked by uid 89); 18 Mar 2014 20:52:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: elasmtp-curtail.atl.sa.earthlink.net Received: from elasmtp-curtail.atl.sa.earthlink.net (HELO elasmtp-curtail.atl.sa.earthlink.net) (209.86.89.64) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Mar 2014 20:52:50 +0000 Received: from [68.96.200.16] (helo=macbook2.local) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1WQ101-0004GC-0m for gdb-patches@sourceware.org; Tue, 18 Mar 2014 16:52:37 -0400 Message-ID: <5328B210.9060702@earthlink.net> Date: Tue, 18 Mar 2014 20:52:00 -0000 From: Stan Shebs User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: [PATCH/doc] Remove fixme of packet "k" References: <5322AE41.4050008@mentor.com> In-Reply-To: <5322AE41.4050008@mentor.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-ELNK-Trace: ae6f8838ff913eba0cc1426638a40ef67e972de0d01da9408e12e37298b8bdf713d77c4b9467068d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00432.txt.bz2 On 3/14/14 12:22 AM, Hui Zhu wrote: [...] > So make a patch update doc of 'k' to: > ‘k’ > Kill all processes. > > The ‘k’ packet has no reply. For old packets in the protocol, we need to be careful not to tweak the description so as to change the meaning. In this case, the effect of 'k' is not precisely specified; while the current version of GDBserver has taken it to mean "all inferiors", that may not be true of the stub I shipped to a customer four years ago. As a replacement for the FIXME, I suggest something like "Kill the target process or processes." "The exact effect of this packet is not specified. For a single-process target, it will kill that process if possible. A multiple-process target may choose to kill just one process, or all that that are under GDB's control. For more precise control, use the vKill packet." "The ‘k’ packet has no reply." It seems like it should say something about inferiors as well, but I couldn't think of how to express it clearly. Stan stan@codesourcery.com