public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/11462] New: Printing instance destructor address requires quoting
@ 2010-04-01 15:30 jan dot kratochvil at redhat dot com
  2010-04-01 15:38 ` [Bug symtab/11462] " jan dot kratochvil at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-01 15:30 UTC (permalink / raw)
  To: gdb-prs

10	  cc.~CC ();
(gdb) p cc.~CC
A syntax error in expression, near `~CC'.
(gdb) p cc.'~CC'
$1 = {void (CC *, int)} 0x400584 <CC::~CC()>
(gdb) 

------------------------------------------------------------------------------
class CC
{
public:
  ~CC () {}
};
int
main ()
{
  CC cc;
  cc.~CC ();
  return 0;
}

-- 
           Summary: Printing instance destructor address requires quoting
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: symtab
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: jan dot kratochvil at redhat dot com
                CC: gdb-prs at sourceware dot org,keiths at redhat dot com
GCC target triplet: x86_64-unknown-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-04-01 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-01 15:30 [Bug symtab/11462] New: Printing instance destructor address requires quoting jan dot kratochvil at redhat dot com
2010-04-01 15:38 ` [Bug symtab/11462] " jan dot kratochvil 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).