This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] display vector types using vector_size syntax
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Andrew Burgess <aburgess at broadcom dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 10 Sep 2012 15:06:20 -0700
- Subject: Re: [rfc] display vector types using vector_size syntax
- References: <50448CC0.8060706@broadcom.com> <87627lerap.fsf@fleche.redhat.com>
> 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