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: Tom Tromey <tromey at redhat dot com>
- To: "Andrew Burgess" <aburgess at broadcom dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 26 Oct 2012 12:53:27 -0600
- Subject: Re: [rfc] display vector types using vector_size syntax
- References: <50448CC0.8060706@broadcom.com> <87627lerap.fsf@fleche.redhat.com> <5053A118.5080701@broadcom.com>
>>>>> "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