This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/11462] New: Printing instance destructor address requires quoting


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]