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, 05 Apr 2016 20:24:17 +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
Martin Galvan <martin.galvan at tallertechnologies dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jan.kratochvil at redhat dot com
--- Comment #2 from Martin Galvan <martin.galvan at tallertechnologies dot com> ---
I've sent a patch for fixing the crash when doing 'print &ref', here:
https://sourceware.org/ml/gdb-patches/2016-04/msg00012.html
As for the other cases, I've traced the root cause to
pieced_value_funcs.coerce_ref being NULL after commit
a471c5941e127823b95893176c7c9301c4b4cb32. I'm thinking of implementing this
function for synthetic references only, so that calls to coerce_ref_if_computed
will stop returning NULL. I'm open to suggestions or feedback of any kind
though.
--
You are receiving this mail because:
You are on the CC list for the bug.