From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17387 invoked by alias); 27 Jun 2010 17:15:58 -0000 Received: (qmail 17370 invoked by uid 22791); 27 Jun 2010 17:15:57 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Jun 2010 17:15:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BFA642BAB8D; Sun, 27 Jun 2010 13:15:45 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id InJid5GnS9a3; Sun, 27 Jun 2010 13:15:45 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 87DC02BAB89; Sun, 27 Jun 2010 13:15:45 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 2102EF5894; Sun, 27 Jun 2010 10:15:26 -0700 (PDT) Date: Sun, 27 Jun 2010 17:15:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Ken Werner , gdb-patches@sourceware.org Subject: Re: [patch] Printing of character vectors Message-ID: <20100627171526.GN2595@adacore.com> References: <201006251037.29862.ken@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-06/txt/msg00619.txt.bz2 > I do not know. The test case was written that way, but that isn't > necessarily indicative of intent. > > Is it ever useful? This is a bit of a guess, but I would tend to agree that vectors should be displayed as arrays. If one wants to display the vector as a string, it should be possible to do so using x/s. -- Joel