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. 0256a6ac4b25d56da14cbbe3cda9977f9c7c13eb


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  0256a6ac4b25d56da14cbbe3cda9977f9c7c13eb (commit)
      from  a6e3e144a3b73c6a5a1ca2e403c53512d852d940 (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=0256a6ac4b25d56da14cbbe3cda9977f9c7c13eb

commit 0256a6ac4b25d56da14cbbe3cda9977f9c7c13eb
Author: Pedro Alves <palves@redhat.com>
Date:   Wed May 21 13:58:16 2014 +0100

    Make the dcache (code/stack cache) handle line reading errors better
    
    The dcache (code/stack cache) is supposed to be transparent, but it's
    actually not in one case.  dcache tries to read chunks (cache lines)
    at a time off of the target.  This may end up trying to read
    unaccessible or unavailable memory.  Currently the caller gets an xfer
    error in this case.  But if the specific bits of memory the caller
    actually wanted are available and accessible, then the caller should
    get the memory it wanted, not an error.
    
    gdb/
    2014-05-21  Pedro Alves  <palves@redhat.com>
    
    	* dcache.c (dcache_read_memory_partial): If reading the cache line
    	fails, fallback to reading just the memory the caller wanted.
    
    gdb/testsuite/
    2014-05-21  Pedro Alves  <palves@redhat.com>
    
    	* gdb.base/dcache-line-read-error.c: New.
    	* gdb.base/dcache-line-read-error.exp: New.

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

Summary of changes:
 gdb/ChangeLog                                     |    5 +
 gdb/dcache.c                                      |    7 +-
 gdb/testsuite/ChangeLog                           |    5 +
 gdb/testsuite/gdb.base/dcache-line-read-error.c   |  107 +++++++++++++++++++++
 gdb/testsuite/gdb.base/dcache-line-read-error.exp |   68 +++++++++++++
 5 files changed, 190 insertions(+), 2 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/dcache-line-read-error.c
 create mode 100644 gdb/testsuite/gdb.base/dcache-line-read-error.exp


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]