This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[committed 0/2] MIPS: Don't use a 32-bit architecture with a 64-bit ABI
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Mon, 26 Feb 2018 19:45:07 +0000
- Subject: [committed 0/2] MIPS: Don't use a 32-bit architecture with a 64-bit ABI
- Authentication-results: sourceware.org; auth=none
Hi,
This mini patch series addresses an issue on an internal error when an
attempt is made to use a 32-bit architecture with a 64-bit ABI. This is
clearly an unsupported combination and we should handle it gracefully.
A preparatory change is required so that the ABI in effect is determined
before a target description is loaded. This is because we change
architecture information and that is needed to initialise OS dependent
register information, which in turn target description loading relies on.
It actually seems cleaner to do this in this order regardless.
This has been extensively regression-tested with o32, n32 and n64 ABIs in
both native and remote configurations each, and now committed.
See individual change descriptions for details.
Maciej