public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12284] New: IWBN to not have to quote anonymous namespaces
@ 2010-12-02 20:53 dje at google dot com
  2013-03-06 19:39 ` [Bug c++/12284] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at google dot com @ 2010-12-02 20:53 UTC (permalink / raw)
  To: gdb-prs

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

           Summary: IWBN to not have to quote anonymous namespaces
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com


This works:

(gdb) p 'foo::(anonymous namespace)::bar'

This doesn't, but IWBN if it did:

(gdb) p foo::(anonymous namespace)::bar

Testcase:

namespace foo
{
  namespace
  {
    int bar;
  }
}

int
main ()
{
  return 0;
}

-- 
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 c++/12284] IWBN to not have to quote anonymous namespaces
  2010-12-02 20:53 [Bug c++/12284] New: IWBN to not have to quote anonymous namespaces dje at google dot com
@ 2013-03-06 19:39 ` tromey at redhat dot com
  2013-07-14 18:26 ` tromey at redhat dot com
  2014-07-29 21:02 ` dmalcolm at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-03-06 19:39 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-03-06 19:39:17 UTC ---
It seems to me that having to enter "(anonymous namespace)"
at all is a bug.  At least as far as expression parsing goes --
I'm less sure about linespecs.

-- 
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 c++/12284] IWBN to not have to quote anonymous namespaces
  2010-12-02 20:53 [Bug c++/12284] New: IWBN to not have to quote anonymous namespaces dje at google dot com
  2013-03-06 19:39 ` [Bug c++/12284] " tromey at redhat dot com
@ 2013-07-14 18:26 ` tromey at redhat dot com
  2014-07-29 21:02 ` dmalcolm at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-07-14 18:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at redhat dot com> ---
(In reply to Tom Tromey from comment #1)
> It seems to me that having to enter "(anonymous namespace)"
> at all is a bug.  At least as far as expression parsing goes --
> I'm less sure about linespecs.

It seems to me now that this should also be droppable for
linespecs.

-- 
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 c++/12284] IWBN to not have to quote anonymous namespaces
  2010-12-02 20:53 [Bug c++/12284] New: IWBN to not have to quote anonymous namespaces dje at google dot com
  2013-03-06 19:39 ` [Bug c++/12284] " tromey at redhat dot com
  2013-07-14 18:26 ` tromey at redhat dot com
@ 2014-07-29 21:02 ` dmalcolm at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dmalcolm at redhat dot com @ 2014-07-29 21:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=12284

Dave Malcolm <dmalcolm at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at redhat dot com

-- 
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:[~2014-07-29 21:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-02 20:53 [Bug c++/12284] New: IWBN to not have to quote anonymous namespaces dje at google dot com
2013-03-06 19:39 ` [Bug c++/12284] " tromey at redhat dot com
2013-07-14 18:26 ` tromey at redhat dot com
2014-07-29 21:02 ` dmalcolm 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).