This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI: fix base members in references
Joel Brobecker wrote:
> Volodya,
>
>> >> If this patch is fine, can I also commit it to 6.6 branch? The bug in
>> >> question is quite problematic for C++ code.
>> >
>> > Sounds fine to me, but check with Joel.
>>
>> I'll check.
>
> This patch:
>
>> 2006-12-06 Vladimir Prus <vladimir@codesourcery.com>
>>
>> * varobj.c (cplus_value_of_child): When accessing
>> base suboject, don't specially process references.
>
> is OK for the branch.
Thanks!
> Do we have a testcase for that, btw?
We don't. As I've mentioned, we've short of MI/C++ testcases. My other
references patch adds MI/C++/varobj testcase, after committing that patch
I'll also add tests for base/references problem.
- Volodya