This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2] More read-registers-with-wrong-architecture fixing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]