This is the mail archive of the gdb-cvs@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]

gdb and binutils branch master updated. 484933d11fca33ded4c5465eae3781bf79ee12e2


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  484933d11fca33ded4c5465eae3781bf79ee12e2 (commit)
      from  ab50adb6a622fc599ce6e037ae0cdfaf952f4bb4 (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=484933d11fca33ded4c5465eae3781bf79ee12e2

commit 484933d11fca33ded4c5465eae3781bf79ee12e2
Author: Maciej W. Rozycki <macro@codesourcery.com>
Date:   Sun Oct 5 23:37:53 2014 +0100

    MIPS: Rewrite `add_offset_16' to match its name
    
    A helper function called `add_offset_16' is used by
    `extended_mips16_next_pc' to calculate branch destinations.  Weirdly
    enough the helper does not do what the name suggests and rather than
    doing its work for a 16-bit immediate branch offset it makes its
    calculations on a 26-bit immediate target used by JAL and JALX
    instructions.  Furthermore the JAL/JALX calculation is only needed once
    by `extended_mips16_next_pc' while a 16-bit branch offset calculation
    is made inline several times across `extended_mips16_next_pc'.
    
    This change therefore replaces the contents of `add_offset_16' with the
    16-bit branch offset calculation and updates `extended_mips16_next_pc'
    accordingly.
    
    	* mips-tdep.c (add_offset_16): Rewrite to implement what the
    	name implies.
    	(extended_mips16_next_pc): Update accordingly.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog   |    6 ++++++
 gdb/mips-tdep.c |   16 +++++++++-------
 2 files changed, 15 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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