public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16217] New: print of SRAd object with "operator *"
@ 2013-11-25 15:04 tromey at redhat dot com
0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2013-11-25 15:04 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-25 15:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 15:04 [Bug c++/16217] New: print of SRAd object with "operator *" tromey 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).