From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25638 invoked by alias); 10 Sep 2012 22:06:39 -0000 Received: (qmail 25627 invoked by uid 22791); 10 Sep 2012 22:06:38 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO 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; Mon, 10 Sep 2012 22:06:25 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A919D1C7633; Mon, 10 Sep 2012 18:06:24 -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 X1yy9M3+xHQ5; Mon, 10 Sep 2012 18:06:24 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 5FED21C7623; Mon, 10 Sep 2012 18:06:24 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id A279914561A; Mon, 10 Sep 2012 15:06:20 -0700 (PDT) Date: Mon, 10 Sep 2012 22:06:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Andrew Burgess , "gdb-patches@sourceware.org" Subject: Re: [rfc] display vector types using vector_size syntax Message-ID: <20120910220620.GA3081@adacore.com> References: <50448CC0.8060706@broadcom.com> <87627lerap.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87627lerap.fsf@fleche.redhat.com> 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: 2012-09/txt/msg00144.txt.bz2 > Andrew> I'd like to change the behaviour to this: > Andrew> (gdb) ptype vector > Andrew> type = char ((vector_size(4))) > Andrew> (gdb) whatis vector > Andrew> type = char ((vector_size(4))) > > Seems reasonable to me. Just a thought: How about type = char __attribute__ ((vector_size(4))) ? It know it's a lot more verbose, but the later speaks a lot more to me than the original proposal... -- Joel