From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15176 invoked by alias); 11 Jun 2008 00:08:40 -0000 Received: (qmail 15153 invoked by uid 22791); 11 Jun 2008 00:08:39 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jun 2008 00:08:14 +0000 Received: (qmail 26660 invoked from network); 11 Jun 2008 00:08:12 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Jun 2008 00:08:12 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: Remove undocumented remote procotol extension Date: Wed, 11 Jun 2008 03:27:00 -0000 User-Agent: KMail/1.9.9 Cc: Michael Snyder References: <200806110103.33301.pedro@codesourcery.com> In-Reply-To: <200806110103.33301.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806110108.16878.pedro@codesourcery.com> X-IsSubscribed: yes 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 X-SW-Source: 2008-06/txt/msg00213.txt.bz2 A Wednesday 11 June 2008 01:03:33, Pedro Alves escreveu: > Hi, > > Following up on, > > [remote] Where is S AA p PID currently specified? > http://sourceware.org/ml/gdb/2008-06/msg00081.html > > Here is the patch that removes the undocumented extension. > > Is this NEWS worthy? If so, NEWS change included. > > OK ? For the record, it seems it was used to report some the kernel mode in the stop reply. There was PDEBUG ('k') and KDEBUG ('p'). if (buf[3] == 'p') { /* Export Cisco kernel mode as a convenience variable (so that it can be used in the GDB prompt if desired). */ if (cisco_kernel_mode == 1) set_internalvar (lookup_internalvar ("cisco_kernel_mode"), value_from_string ("PDEBUG-")); cisco_kernel_mode = 0; thread_num = strtol ((const char *) &buf[4], NULL, 16); record_currthread (thread_num); } else if (buf[3] == 'k') { /* Export Cisco kernel mode as a convenience variable (so that it can be used in the GDB prompt if desired). */ if (cisco_kernel_mode == 1) set_internalvar (lookup_internalvar ("cisco_kernel_mode"), value_from_string ("KDEBUG-")); cisco_kernel_mode = 1; } For some reason, Andrew Cagney left that 'p' in, when removing the cisco bits. -- Pedro Alves