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. 0d7b2549024f66cb98dd173b6f339673df1b0ea1


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  0d7b2549024f66cb98dd173b6f339673df1b0ea1 (commit)
      from  2b0f535a446c682c3dc7c1276e2cbc747bfae163 (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=0d7b2549024f66cb98dd173b6f339673df1b0ea1

commit 0d7b2549024f66cb98dd173b6f339673df1b0ea1
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Mon Nov 17 15:22:48 2014 +0000

    Use 2-byte instead of 4-byte NOP on S390 in 'bp-permanent' test case
    
    The bp-permanent test case assumes that a NOP is exactly as long as a
    software breakpoint.  This is not the case for the S390 "nop"
    instruction, which is 4 bytes long, while a software breakpoint is
    just 2 bytes long.  The "nopr" instruction has the right size and can
    be used instead.
    
    Without this patch the test case fails on S390 when trying to continue
    after SIGTRAP on the permanent breakpoint:
    
      ...
      Continuing.
    
      Program received signal SIGILL, Illegal instruction.
      test () at /home/arnez/src/binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:40
      40	  NOP; /* after permanent bp */
      (gdb)
      FAIL: gdb.base/bp-permanent.exp: always_inserted=off, sw_watchpoint=0:
        basics: stop at permanent breakpoint
    
    With this patch the test case succeeds without any FAILs.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
    	4-byte instruction on S390.

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

Summary of changes:
 gdb/testsuite/ChangeLog               |    5 +++++
 gdb/testsuite/gdb.base/bp-permanent.c |    7 +++++++
 2 files changed, 12 insertions(+), 0 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]