This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. ae79065284d6250c27377b5ca1dce54da9b1d4ba
- From: macro at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 5 Oct 2014 20:59:07 -0000
- Subject: gdb and binutils branch master updated. ae79065284d6250c27377b5ca1dce54da9b1d4ba
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 ae79065284d6250c27377b5ca1dce54da9b1d4ba (commit)
from 24340e81faf9d23de6456293954de73785e53d3f (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=ae79065284d6250c27377b5ca1dce54da9b1d4ba
commit ae79065284d6250c27377b5ca1dce54da9b1d4ba
Author: Maciej W. Rozycki <macro@codesourcery.com>
Date: Sun Oct 5 21:50:47 2014 +0100
MIPS: Correct MUSTBE32 interpretation in delay slot handling
This change addresses `micromips_instruction_has_delay_slot' and
`mips16_instruction_has_delay_slot' that both incorrectly interpret
their MUSTBE32 argument. Their callers assume that when the flag is
clear these functions will return 1 when any non-compact jump or branch
instruction is present at ADDR, while in fact they will only return 1
for 16-bit such instructions only. This change makes the implementation
match the expectations.
* mips-tdep.c (micromips_instruction_has_delay_slot): When
!mustbe32 also return 1 for 32-bit instructions.
(mips16_instruction_has_delay_slot): Likewise. Add an
explanatory comment.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 7 +++++++
gdb/mips-tdep.c | 21 +++++++++++++--------
2 files changed, 20 insertions(+), 8 deletions(-)
hooks/post-receive
--
gdb and binutils