This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.10-branch] Demangler: Fix constructor names with ABI tags
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Sat, 28 Nov 2015 14:19:48 -0500
- Subject: [binutils-gdb/gdb-7.10-branch] Demangler: Fix constructor names with ABI tags
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 99eda040d8214d2d691ba804d6354c99b6df5269 ***
Author: Ian Lance Taylor <iant@google.com>
Branch: gdb-7.10-branch
Commit: 99eda040d8214d2d691ba804d6354c99b6df5269
Demangler: Fix constructor names with ABI tags
The symbol _ZNSt8ios_base7failureB5cxx11C1EPKcRKSt10error_code, which
appears in libstdc++, was being demangled as
std::ios_base::failure[abi:cxx11]::cxx11(char const*, std::error_code const&)
That is clearly incorrect: std::ios_base::failure does not have a
method cxx11, and anyhow if you look closely at the mangled name you
will see that it is supposed to be a constructor. This patch fixes
the demangler to generate the correct demangling, namely
std::ios_base::failure[abi:cxx11]::failure(char const*, std::error_code const&)
Bootstrapped and ran libiberty and libstdc++-v3 tests on
x86_64-unknown-linux-gnu.
2015-08-15 Ian Lance Taylor <iant@google.com>
* cp-demangle.c (d_abi_tags): Preserve di->last_name across any
ABI tags.
- Follow-Ups:
- Failures on RHEL-s390x-m64, branch gdb-7.10-branch
- Failures on AIX-POWER7-plain, branch gdb-7.10-branch
- Failures on Debian-s390x-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-s390x-m64, branch gdb-7.10-branch
- Failures on Debian-x86_64-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Debian-i686, branch gdb-7.10-branch
- Failures on Debian-x86_64-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Debian-i686-native-gdbserver, branch gdb-7.10-branch
- Failures on Debian-i686-native-extended-gdbserver, branch gdb-7.10-branch
- Failures on Fedora-i686, branch gdb-7.10-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-cc-with-index, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.10-branch