This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.8-branch] Support gdbarch_convert_register_p targets in address_from_register
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Mon, 02 Mar 2015 13:33:35 -0500
- Subject: [binutils-gdb/gdb-7.8-branch] Support gdbarch_convert_register_p targets in address_from_register
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d99093fd0a66da4667938224d1cdb54714f93b25 ***
Author: Michael Eager <eager@eagercon.com>
Branch: gdb-7.8-branch
Commit: d99093fd0a66da4667938224d1cdb54714f93b25
Support gdbarch_convert_register_p targets in address_from_register
Since the last change to address_from_register, it no longer supports
targets that require a special conversion (gdbarch_convert_register_p)
for plain pointer type; I had assumed no target does so.
This turned out to be incorrect: MIPS64 n32 big-endian needs such a
conversion in order to properly sign-extend pointer values.
This patch fixes this regression by handling targets that need a
special conversion in address_from_register as well.
gdb/ChangeLog:
* findvar.c (address_from_register): Handle targets requiring
a special conversion routine even for plain pointer types
- Follow-Ups:
- Failures on Fedora-ppc64be-m64, branch gdb-7.8-branch
- Failures on Fedora-ppc64be-cc-with-index, branch gdb-7.8-branch
- Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.8-branch
- Failures on Debian-i686, branch gdb-7.8-branch
- Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch gdb-7.8-branch
- Failures on Debian-i686-native-gdbserver, branch gdb-7.8-branch
- Failures on Debian-i686-native-extended-gdbserver, branch gdb-7.8-branch
- Failures on Fedora-ppc64le-cc-with-index, branch gdb-7.8-branch
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.8-branch
- Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.8-branch
- Failures on Fedora-ppc64le-m64, branch gdb-7.8-branch
- Failures on Fedora-x86_64-m32, branch gdb-7.8-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-7.8-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-7.8-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-7.8-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.8-branch
- Failures on Fedora-x86_64-m64, branch gdb-7.8-branch
- Failures on Debian-x86_64-native-extended-gdbserver-m64, branch gdb-7.8-branch
- Failures on Debian-x86_64-m64, branch gdb-7.8-branch
- Failures on Debian-x86_64-native-gdbserver-m64, branch gdb-7.8-branch