This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 71e396f920e593494b8d57114d32e2c07f823781
- From: luisgpm at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 27 Oct 2014 11:02:40 -0000
- Subject: gdb and binutils branch master updated. 71e396f920e593494b8d57114d32e2c07f823781
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 71e396f920e593494b8d57114d32e2c07f823781 (commit)
from 3aee438bbb1634e6e6e3ae60fe8479ae7172b014 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=71e396f920e593494b8d57114d32e2c07f823781
commit 71e396f920e593494b8d57114d32e2c07f823781
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Mon Oct 27 08:57:58 2014 -0200
Fix ARM machine state testcase failures
When running GDB's reverse debugging testsuite against a few ARM
multilibs, i noticed failures in the machinestate* testcases.
Further investigation showed that push and pop instruction encodings
A1 and A2 were not being handled properly, thus we missed saving
important contents from registers and memory. When going backwards,
such contents were not restored and thus we ended up with a corrupted
state that did not correspond to the real values we had at a
particular point in time.
Attached is a patch that fixes around 36 failures for both
gdb.reverse/machinestate.exp and
gdb.reverse/machinestate-precsave.exp testcases, making them fully
pass. This is for both armv7 and armv4. I still see failures for
armv4 thumb though, so it needs a bit more investigation.
I see no regressions due to this patch for armv7, armv7 thumb, armv4
and armv4 thumb.
gdb/ChangeLog:
* arm-tdep.c (INSN_S_L_BIT_NUM): Document.
(arm_record_ld_st_imm_offset): Reimplement to cover all
load/store cases for ARM opcode 010.
(arm_record_ld_st_multiple): Reimplement to cover all
load/store cases for ARM opcode 100.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 8 ++
gdb/arm-tdep.c | 323 +++++++++++++++++++++++--------------------------------
2 files changed, 143 insertions(+), 188 deletions(-)
hooks/post-receive
--
gdb and binutils