From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32044 invoked by alias); 31 Mar 2009 20:32:33 -0000 Received: (qmail 31673 invoked by uid 22791); 31 Mar 2009 20:32:30 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Mar 2009 20:32:25 +0000 Received: from wpaz33.hot.corp.google.com (wpaz33.hot.corp.google.com [172.24.198.97]) by smtp-out.google.com with ESMTP id n2VKWL7M023372 for ; Tue, 31 Mar 2009 21:32:21 +0100 Received: from rv-out-0506.google.com (rvbl9.prod.google.com [10.140.88.9]) by wpaz33.hot.corp.google.com with ESMTP id n2VKWJqh026320 for ; Tue, 31 Mar 2009 13:32:20 -0700 Received: by rv-out-0506.google.com with SMTP id l9so3051634rvb.25 for ; Tue, 31 Mar 2009 13:32:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.48.6 with SMTP id a6mr3637219rvk.36.1238531539481; Tue, 31 Mar 2009 13:32:19 -0700 (PDT) In-Reply-To: References: <20090324212730.GU9472@adacore.com> Date: Tue, 31 Mar 2009 20:42:00 -0000 Message-ID: Subject: Re: [RFC] Change "set print frame-arguments"'s default to scalars From: Doug Evans To: tromey@redhat.com Cc: Joel Brobecker , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true 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: 2009-03/txt/msg00709.txt.bz2 On Fri, Mar 27, 2009 at 10:19 AM, Tom Tromey wrote: > > Also, Jan had the excellent idea that we could limit the output > (truncate it after some number of characters and add "...") for a > given value, rather than have the selection be all-or-none. This > could easily be done by making a new kind of output stream, and then > using it when printing a frame in stack.c. Let me know what you think > of this; I can implement it if people think it is a good idea. I've seen various Scheme interpreters do this. I like it.