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 c++/19893] Synthetic pointers created from C++ references are broken


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.

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