This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] display vector types using vector_size syntax


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]