This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] More read-registers-with-wrong-architecture fixing
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 9 Oct 2017 11:16:15 +0100
- Subject: [PATCH 0/2] More read-registers-with-wrong-architecture fixing
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CEF6DC04AC69
I ran into another read-registers-with-wrong-architecture bug in my
multi-target branch that can be triggered on master. This time in the
execing support. This series fixes it.
The first patch is the actual fix. It extends the
gdb.multi/multi-arch-exec.exp in a way that exposes the problem, and
fixes the problem.
The second patch extends the gdb.multi/multi-arch-exec.exp even more
to be thorough.
Pedro Alves (2):
Multi-arch exec, more register reading avoidance
gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64
gdb/infrun.c | 5 +-
gdb/testsuite/gdb.multi/multi-arch-exec.c | 27 +++++
gdb/testsuite/gdb.multi/multi-arch-exec.exp | 178 +++++++++++++++++++++-------
3 files changed, 166 insertions(+), 44 deletions(-)
--
2.5.5