public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/14772] New: __attribute__ type output is sometimes incorrectly formatted
@ 2012-10-26 18:51 tromey at redhat dot com
  2012-10-31  9:26 ` [Bug cli/14772] " cvs-commit at gcc dot gnu.org
  2012-10-31 11:40 ` aburgess at broadcom dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2012-10-26 18:51 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14772

             Bug #: 14772
           Summary: __attribute__ type output is sometimes incorrectly
                    formatted
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


The __attribute__((vector_size)) type output is sometimes wrong.
On Fedora 16 with a recent gdb:

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

There should be a space after "_pad".

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug cli/14772] __attribute__ type output is sometimes incorrectly formatted
  2012-10-26 18:51 [Bug cli/14772] New: __attribute__ type output is sometimes incorrectly formatted tromey at redhat dot com
@ 2012-10-31  9:26 ` cvs-commit at gcc dot gnu.org
  2012-10-31 11:40 ` aburgess at broadcom dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-10-31  9:26 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14772

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-10-31 09:26:27 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    aburgess@sourceware.org    2012-10-31 09:26:22

Modified files:
    gdb            : ChangeLog c-typeprint.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.base: gnu_vector.c gnu_vector.exp 

Log message:
    http://sourceware.org/ml/gdb-patches/2012-10/msg00525.html

    gdb/ChangeLog

    PR cli/14772
    * c-typeprint.c (c_print_type): Don't print a space for vector
    types, this is handled within the suffix.
    (c_type_print_varspec_suffix): Add a space to vector suffix

    gdb/testsuite/ChangeLog

    PR cli/14772
    * gdb.base/gnu_vector.c (union_with_vector_1)
    (struct_with_vector_1): Add new struct and union for testing
    ptype.
    * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
    structs / unions containing vectors.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14765&r2=1.14766
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-typeprint.c.diff?cvsroot=src&r1=1.81&r2=1.82
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3431&r2=1.3432
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/gnu_vector.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/gnu_vector.exp.diff?cvsroot=src&r1=1.9&r2=1.10

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug cli/14772] __attribute__ type output is sometimes incorrectly formatted
  2012-10-26 18:51 [Bug cli/14772] New: __attribute__ type output is sometimes incorrectly formatted tromey at redhat dot com
  2012-10-31  9:26 ` [Bug cli/14772] " cvs-commit at gcc dot gnu.org
@ 2012-10-31 11:40 ` aburgess at broadcom dot com
  1 sibling, 0 replies; 3+ messages in thread
From: aburgess at broadcom dot com @ 2012-10-31 11:40 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14772

Andrew Burgess <aburgess at broadcom dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aburgess at broadcom dot
                   |                            |com
         Resolution|                            |FIXED

--- Comment #2 from Andrew Burgess <aburgess at broadcom dot com> 2012-10-31 11:40:56 UTC ---
Fixed by recent commit.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-31 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-26 18:51 [Bug cli/14772] New: __attribute__ type output is sometimes incorrectly formatted tromey at redhat dot com
2012-10-31  9:26 ` [Bug cli/14772] " cvs-commit at gcc dot gnu.org
2012-10-31 11:40 ` aburgess at broadcom dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).