public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/12941] New: Ignore __extension__ in the parser
@ 2011-06-27 17:09 jan.kratochvil at redhat dot com
  2011-06-28  9:06 ` [Bug exp/12941] " pedro at codesourcery dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-06-27 17:09 UTC (permalink / raw)
  To: gdb-prs

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

           Summary: Ignore __extension__ in the parser
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: exp
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com


Actual:
(gdb) ptype ENUM_BITFIELD(address_class)
No symbol "__extension__" in current context.

Expected:
(gdb) ptype enum address_class
type = enum address_class {LOC_UNDEF, LOC_CONST, LOC_STATIC, LOC_REGISTER,
LOC_ARG, LOC_REF_ARG, LOC_REGPARM_ADDR, LOC_LOCAL, LOC_TYPEDEF, LOC_LABEL,
LOC_BLOCK, LOC_CONST_BYTES, LOC_UNRESOLVED, LOC_OPTIMIZED_OUT, LOC_COMPUTED}

This breaks usage of macros in -g3 builds.

(gdb) info macro ENUM_BITFIELD
[...]
#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE


But for example ({...}) still cannot get be parsed.

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

* [Bug exp/12941] Ignore __extension__ in the parser
  2011-06-27 17:09 [Bug exp/12941] New: Ignore __extension__ in the parser jan.kratochvil at redhat dot com
@ 2011-06-28  9:06 ` pedro at codesourcery dot com
  2011-06-28  9:12 ` jan.kratochvil at redhat dot com
  2013-03-04 18:08 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2011-06-28  9:06 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <pedro at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pedro at codesourcery dot
                   |                            |com

--- Comment #1 from Pedro Alves <pedro at codesourcery dot com> 2011-06-28 09:05:57 UTC ---
See PR 9748.

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

* [Bug exp/12941] Ignore __extension__ in the parser
  2011-06-27 17:09 [Bug exp/12941] New: Ignore __extension__ in the parser jan.kratochvil at redhat dot com
  2011-06-28  9:06 ` [Bug exp/12941] " pedro at codesourcery dot com
@ 2011-06-28  9:12 ` jan.kratochvil at redhat dot com
  2013-03-04 18:08 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-06-28  9:12 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-06-28 09:10:38 UTC ---
Thanks, so it is a duplicate.

*** This bug has been marked as a duplicate of bug 9748 ***

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

* [Bug exp/12941] Ignore __extension__ in the parser
  2011-06-27 17:09 [Bug exp/12941] New: Ignore __extension__ in the parser jan.kratochvil at redhat dot com
  2011-06-28  9:06 ` [Bug exp/12941] " pedro at codesourcery dot com
  2011-06-28  9:12 ` jan.kratochvil at redhat dot com
@ 2013-03-04 18:08 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-03-04 18:08 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |archer
                 CC|                            |tromey at redhat 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] 4+ messages in thread

end of thread, other threads:[~2013-03-04 18:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 17:09 [Bug exp/12941] New: Ignore __extension__ in the parser jan.kratochvil at redhat dot com
2011-06-28  9:06 ` [Bug exp/12941] " pedro at codesourcery dot com
2011-06-28  9:12 ` jan.kratochvil at redhat dot com
2013-03-04 18: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).