From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43748 invoked by alias); 8 Aug 2019 18:59:47 -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 43740 invoked by uid 89); 8 Aug 2019 18:59:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mailsec112.isp.belgacom.be Received: from mailsec112.isp.belgacom.be (HELO mailsec112.isp.belgacom.be) (195.238.20.108) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Aug 2019 18:59:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1565290786; x=1596826786; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=00yrqVpTq4mrwL+S5ayHILpSRKll3RRNuplRcDI9xsM=; b=A6pkgEsaHmT9xm+MRqIkBdRQuqfmYKsU9Mz7RkhpyffDY4ASgMaP2XD6 RBqolS+cS3401dcNM7ONEJz3n/ae/A==; Received: from 96.218-128-109.adsl-dyn.isp.belgacom.be (HELO md) ([109.128.218.96]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 08 Aug 2019 20:59:43 +0200 Message-ID: <1565290782.1435.17.camel@skynet.be> Subject: Re: [RFA] Implement 'print -raw-values' and 'set print raw-values on|off' From: Philippe Waroquiers To: Tom Tromey Cc: gdb-patches@sourceware.org Date: Thu, 08 Aug 2019 18:59:00 -0000 In-Reply-To: <87imr87j1b.fsf@tromey.com> References: <20190807193924.32268-1-philippe.waroquiers@skynet.be> <87imr87j1b.fsf@tromey.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00210.txt.bz2 On Wed, 2019-08-07 at 15:38 -0600, Tom Tromey wrote: > > > > > > "Philippe" == Philippe Waroquiers writes: > > Philippe> This patch implements -raw-values option that tells to ignore the > Philippe> active pretty printers when printing a value. > > FWIW I think "print/r" already covers this. Yes. In fact, someone at my work was using /r, and I had no idea what this was. Searching at home, I found the print -raw doc, but not the -raw option. BTW, I could not find any description of /r: nothing found in help print, and nothing found in the manual. Is /r documented somewhere ? (might be good to reference /r in the -raw-values doc and manual). > > Maybe it's desirable to have a complete-able option for it? Yes. /r only works on the current print command. -raw-values is complete-able, corresponds to a GDB setting, can be used in the "with" command. Philippe