From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6820 invoked by alias); 28 Mar 2013 19:46:21 -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 6805 invoked by uid 89); 28 Mar 2013 19:46:14 -0000 X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 28 Mar 2013 19:46:11 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MKD00700YOTUB00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Thu, 28 Mar 2013 21:45:55 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKD007RHYWI9GB0@a-mtaout20.012.net.il>; Thu, 28 Mar 2013 21:45:55 +0200 (IST) Date: Thu, 28 Mar 2013 21:58:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Stop sending qTStatus if the target doesn't recognize it; add packet configuration command. In-reply-to: <20130328191148.15126.83790.stgit@brno.lan> To: Pedro Alves Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83r4izwbnd.fsf@gnu.org> References: <20130328191148.15126.83790.stgit@brno.lan> X-SW-Source: 2013-03/txt/msg01073.txt.bz2 > From: Pedro Alves > Date: Thu, 28 Mar 2013 19:11:48 +0000 > > GDB currently sends a qTStatus even if the target previously replied > an empty packet to a previous qTStatus. If the target doesn't > recognize the packet, there's no point in trying again. > > The machinery we have in place is packet_ok, which has the nice side > effect of forcing one to install a configuration command/knob for the > packet in question, which is often handy when you need to debug > things, and/or emulate a target that doesn't support the packet, or even, > it can be used as workaround for the old broken kgdb's that return error > to qTSTatus instead of an empty packet. > > This needs a NEWS and docs review. The NEWS and docs parts are OK. Thanks.