public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17524] New: still need quotes when referring to destructor
@ 2014-10-30 14:29 tromey at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: tromey at sourceware dot org @ 2014-10-30 14:29 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17524
           Summary: still need quotes when referring to destructor
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org

I was debugging firefox today and noticed a case
where "disassemble" needed quotes.  I had thought
that the need for quotes in linespecs was pretty much gone...

My case looks like:

(gdb) disass mozilla::SamplerStackFrameRAII::~SamplerStackFrameRAII
A syntax error in expression, near `~SamplerStackFrameRAII'.
(gdb) disass mozilla::SamplerStackFrameRAII::~SamplerStackFrameRAII()
A syntax error in expression, near `~SamplerStackFrameRAII()'.
(gdb) disass 'mozilla::SamplerStackFrameRAII::~SamplerStackFrameRAII()'
Dump of assembler code for function
mozilla::SamplerStackFrameRAII::~SamplerStackFrameRAII():
[... works ...]


I think I shouldn't have to quote this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-30 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-30 14:29 [Bug c++/17524] New: still need quotes when referring to destructor tromey at sourceware dot org

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).