This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/19893] Synthetic pointers created from C++ references are broken
- From: "martin.galvan at tallertechnologies dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 19 Apr 2016 21:13:20 +0000
- Subject: [Bug c++/19893] Synthetic pointers created from C++ references are broken
- Auto-submitted: auto-generated
- References: <bug-19893-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19893
--- Comment #4 from Martin Galvan <martin.galvan at tallertechnologies dot com> ---
Some progress: I've written a couple of unit tests that use a synthetic
reference to a physical variable. This allows to test assignment through the
synthetic variable, as well as using the default operator '&'. The first test
works with a regular int, while the other uses an array. I'll be working on
testing synthetic references to structs, unions and function pointers in the
following days.
However, this all works atop pieced_value_funcs.coerce_ref, which has the
const-ness issue I mentioned in my previous comment. Any feedback on how to
tackle that would be great.
--
You are receiving this mail because:
You are on the CC list for the bug.