Re: [rfc] display vector types using vector_size syntax

Tom Tromey
2012-10-26T18:53:36Z

>>>>> "Andrew" == Andrew Burgess <aburgess@broadcom.com> writes:

Andrew> Committed, but with the extra "__attribute__" syntax as that seemed to
Andrew> be the most popular.
Andrew> http://sourceware.org/ml/gdb-cvs/2012-09/msg00069.html

With this patch I get weird output sometimes:

(gdb) ptype $_siginfo
type = struct {
int si_signo;
int si_errno;
int si_code;
union {
int _pad__attribute__ ((vector_size(28)));

Note the lack of a space between "_pad" and "__attribute__".

I filed this as http://sourceware.org/bugzilla/show_bug.cgi?id=14772

Tom