]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 17:11:45 +0000 (17:11 +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 f2b395f10e0ff729baf1eb0aef8c99d731d11334..0430b1fefb71c136d5136d4daa9a098480ef7b46 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-26  Markus Metzger  <markus.t.metzger@intel.com>
 
        PR 19297
index b4690ea497bc90b8f03940abe0f1b481feaf42b1..43e52a3cb7d23711b2087df799ee8d05abbb8019 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