Fix type casts losing typedefs and reimplement "whatis" typedef stripping
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7ad3f4c5e04246caa05effc01346fd9fa4ff8ee7..fae715041cbcb2136ddd8e2a455023506e683d18 100644 (file)
@@ -1,3 +1,13 @@
+2017-08-21  Pedro Alves  <palves@redhat.com>
+
+       * eval.c (evaluate_subexp_standard) <OP_TYPE>: Don't dig past
+       typedefs.
+       * typeprint.c (whatis_exp): If handling "whatis", and expression
+       is OP_TYPE, strip one typedef level.  Otherwise don't strip
+       typedefs here.
+       * valops.c (value_cast): Save "to" type before resolving
+       stubs/typedefs.  Use that type as resulting value's type.
+
 2017-08-18  Tom Tromey  <tom@tromey.com>
            Pedro Alves  <palves@redhat.com>
 
This page took 0.024149 seconds and 4 git commands to generate.