public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/14442] New: Need to support DW_TAG_restrict_type
@ 2012-08-07 22:16 dje at google dot com
  2012-08-08  8:11 ` [Bug symtab/14442] " nicholas at mxc dot ca
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dje at google dot com @ 2012-08-07 22:16 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 14442
           Summary: Need to support DW_TAG_restrict_type
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com
    Classification: Unclassified


Apparently llvm has started to emit this.

-- 
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] 7+ messages in thread

* [Bug symtab/14442] Need to support DW_TAG_restrict_type
  2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
@ 2012-08-08  8:11 ` nicholas at mxc dot ca
  2012-12-19 14:22 ` emaste at freebsd dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: nicholas at mxc dot ca @ 2012-08-08  8:11 UTC (permalink / raw)
  To: gdb-prs

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

Nick Lewycky <nicholas at mxc dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nlewycky at google dot com

-- 
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] 7+ messages in thread

* [Bug symtab/14442] Need to support DW_TAG_restrict_type
  2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
  2012-08-08  8:11 ` [Bug symtab/14442] " nicholas at mxc dot ca
@ 2012-12-19 14:22 ` emaste at freebsd dot org
  2012-12-19 16:33 ` emaste at freebsd dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: emaste at freebsd dot org @ 2012-12-19 14:22 UTC (permalink / raw)
  To: gdb-prs

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

emaste at freebsd dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd dot org

-- 
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] 7+ messages in thread

* [Bug symtab/14442] Need to support DW_TAG_restrict_type
  2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
  2012-08-08  8:11 ` [Bug symtab/14442] " nicholas at mxc dot ca
  2012-12-19 14:22 ` emaste at freebsd dot org
@ 2012-12-19 16:33 ` emaste at freebsd dot org
  2012-12-19 21:12 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: emaste at freebsd dot org @ 2012-12-19 16:33 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from emaste at freebsd dot org 2012-12-19 16:32:57 UTC ---
I've extracted support from Apple's gdb and applied it to FreeBSD's in-tree
gdb:

http://svnweb.freebsd.org/base?view=revision&revision=244437

-- 
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] 7+ messages in thread

* [Bug symtab/14442] Need to support DW_TAG_restrict_type
  2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
                   ` (2 preceding siblings ...)
  2012-12-19 16:33 ` emaste at freebsd dot org
@ 2012-12-19 21:12 ` tromey at redhat dot com
  2013-01-14 20:59 ` cvs-commit at gcc dot gnu.org
  2013-01-14 21:08 ` tromey at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at redhat dot com @ 2012-12-19 21:12 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-12-19 21:12:48 UTC ---
Testing a patch.

-- 
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] 7+ messages in thread

* [Bug symtab/14442] Need to support DW_TAG_restrict_type
  2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
                   ` (3 preceding siblings ...)
  2012-12-19 21:12 ` tromey at redhat dot com
@ 2013-01-14 20:59 ` cvs-commit at gcc dot gnu.org
  2013-01-14 21:08 ` tromey at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-01-14 20:59 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2013-01-14 20:59:31 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2013-01-14 20:59:27

Modified files:
    gdb            : ChangeLog c-typeprint.c dwarf2read.c gdbtypes.c 
                     gdbtypes.h 
    gdb/testsuite  : ChangeLog 
Added files:
    gdb/testsuite/gdb.dwarf2: dw2-restrict.S dw2-restrict.c 
                              dw2-restrict.exp 

Log message:
    PR symtab/14442:
    * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
    (c_type_print_modifier): Likewise.
    * dwarf2read.c (read_tag_restrict_type): New function.
    (read_type_die_1): Handle DW_TAG_restrict_type.
    * gdbtypes.c (make_restrict_type): New function.
    (recursive_dump_type): Handle TYPE_RESTRICT.
    * gdbtypes.h (enum type_flag_values): Renumber.
    (enum type_instance_flag_value): Add
    TYPE_INSTANCE_FLAG_RESTRICT.
    (TYPE_RESTRICT): New macro.
    (make_restrict_type): Declare.
    gdb/testsuite
    * gdb.dwarf2/dw2-restrict.S: New file.
    * gdb.dwarf2/dw2-restrict.c: New file.
    * gdb.dwarf2/dw2-restrict.exp: New file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15015&r2=1.15016
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-typeprint.c.diff?cvsroot=src&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.729&r2=1.730
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.c.diff?cvsroot=src&r1=1.246&r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.h.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3505&r2=1.3506
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-restrict.S.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-restrict.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
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] 7+ messages in thread

* [Bug symtab/14442] Need to support DW_TAG_restrict_type
  2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
                   ` (4 preceding siblings ...)
  2013-01-14 20:59 ` cvs-commit at gcc dot gnu.org
@ 2013-01-14 21:08 ` tromey at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at redhat dot com @ 2013-01-14 21:08 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.6

--- Comment #4 from Tom Tromey <tromey at redhat dot com> 2013-01-14 21:08:22 UTC ---
Fixed.

-- 
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] 7+ messages in thread

end of thread, other threads:[~2013-01-14 21:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-07 22:16 [Bug symtab/14442] New: Need to support DW_TAG_restrict_type dje at google dot com
2012-08-08  8:11 ` [Bug symtab/14442] " nicholas at mxc dot ca
2012-12-19 14:22 ` emaste at freebsd dot org
2012-12-19 16:33 ` emaste at freebsd dot org
2012-12-19 21:12 ` tromey at redhat dot com
2013-01-14 20:59 ` cvs-commit at gcc dot gnu.org
2013-01-14 21:08 ` tromey at redhat 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).