[PATCH] Do not consider reference types as dynamic

Pierre-Marie de Rodat derodat@adacore.com
Fri Apr 3 08:45:00 GMT 2015


Joel suggested in private that if we don't consider reference types as 
dynamic in is_dynamic_type_internal, maybe the corresponding handling of 
reference types in resolve_dynamic_type_internal could be removed too.

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.

So here's the updated patch. Thanks Joel for the idea! :-)

-- 
Pierre-Marie de Rodat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-consider-reference-types-as-dynamic.patch
Type: text/x-diff
Size: 5644 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150403/b8b07690/attachment.bin>


More information about the Gdb-patches mailing list