This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/16217] New: print of SRAd object with "operator *"
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 25 Nov 2013 15:04:54 +0000
- Subject: [Bug c++/16217] New: print of SRAd object with "operator *"
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16217
Bug ID: 16217
Summary: print of SRAd object with "operator *"
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
It's possible to write a test case where a
class has an "operator*" and an instance of
the class is subject to SRA by GCC.
In this scenario, you can see a synthetic pointer
to the object, but "print *ptr" will fail
because gdb will attempt to call "operator*" --
but that isn't possible because the object
doesn't have an address.
--
You are receiving this mail because:
You are on the CC list for the bug.