This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3] Fix gdb crash when trying to print the address of a synthetic C++ reference
- From: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>, Pedro Alves <palves at redhat dot com>
- Date: Mon, 4 Apr 2016 16:53:15 -0300
- Subject: Re: [PATCH v3] Fix gdb crash when trying to print the address of a synthetic C++ reference
- Authentication-results: sourceware.org; auth=none
- References: <1459545685-1729-1-git-send-email-martin dot galvan at tallertechnologies dot com> <1459776273-3434-1-git-send-email-martin dot galvan at tallertechnologies dot com>
Looking back it seems that I could use readjust_indirect_value_type
instead of manually setting the type and enclosing type of the new
value. I'll give it a try and send a v4 if it works.