[PATCH] Do not consider reference types as dynamic
Yao Qi
qiyaoltc@gmail.com
Fri Apr 17 10:47:00 GMT 2015
Pierre-Marie de Rodat <derodat@adacore.com> writes:
> I've tried to do this and this still triggers no regression on
> x86_64-linux. It's not surprising actually, since
> resolve_dynamic_type_internal does nothing on a type when
> is_dynamic_type_internal returns false for it.
Hi, Pierre,
This patch causes a regression in gdb.cp/vla-cxx.exp unfortunately,
print vlaref^M
$2 = (int (&)[variable length]) @0x3fffffffe900: {5, 7, 9}^M
(gdb) FAIL: gdb.cp/vla-cxx.exp: print vlaref
which is shown by buildbot
https://sourceware.org/ml/gdb-testers/2015-q2/msg00360.html
I am not familiar with gdb type and dynamic type, so can't give anything
useful on how to fix this regression. Any thoughts?
--
Yao (齐尧)
More information about the Gdb-patches
mailing list