Adjust GDB to demangler API change
authorPedro Alves <palves@redhat.com>
Sat, 28 Nov 2015 16:39:32 +0000 (16:39 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 28 Nov 2015 16:39:32 +0000 (16:39 +0000)
Before commit 3a8724032abf, DEMANGLE_COMPONENT_CAST was used for both
casts and conversion operators.  We now have
DEMANGLE_COMPONENT_CONVERSION for the latter.

gdb/ChangeLog:
2014-11-28  Pedro Alves  <palves@redhat.com>

* cp-name-parser.y (conversion_op): Use
DEMANGLE_COMPONENT_CONVERSION instead of DEMANGLE_COMPONENT_CAST.

gdb/ChangeLog
gdb/cp-name-parser.y

index fd84223ac2e4630b884f71ffb1b278c44f8f51b0..209f7c74b5901b517fa39885963880bee4f18456 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-28  Pedro Alves  <palves@redhat.com>
+
+       * cp-name-parser.y (conversion_op): Use
+       DEMANGLE_COMPONENT_CONVERSION instead of DEMANGLE_COMPONENT_CAST.
+
 2015-11-27  Simon Marchi  <simon.marchi@ericsson.com>
 
        * remote.c (start_thread): Add cast.
index cbbb0e88edb6d2a50bb1624edfaeff06ae288f1a..c7a3f123b9d652f7d2205aa2e12408e1481219cf 100644 (file)
@@ -528,7 +528,7 @@ oper        :       OPERATOR NEW
                   since it's not clear that it's parseable.  */
 conversion_op
                :       OPERATOR typespec_2
-                       { $$ = fill_comp (DEMANGLE_COMPONENT_CAST, $2, NULL); }
+                       { $$ = fill_comp (DEMANGLE_COMPONENT_CONVERSION, $2, NULL); }
                ;
 
 conversion_op_name