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. b55fbac484a3057b21532805241d429b6cc23532


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  b55fbac484a3057b21532805241d429b6cc23532 (commit)
       via  9217e74e903fcc21755e7b320ce54a9209f9b5e7 (commit)
       via  8acf9577e5acd99c23fe8f3fa87a961668de7805 (commit)
      from  25d743f9e6f23ec5fc1529a56d7178ad9cfe5611 (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=b55fbac484a3057b21532805241d429b6cc23532

commit b55fbac484a3057b21532805241d429b6cc23532
Author: Yao Qi <yao@codesourcery.com>
Date:   Tue Mar 11 11:37:10 2014 +0800

    Remove target_read_live_memory
    
    As we move code on reading unavailable memory to target side, GDB core
    side doesn't need the "switching momentarily out of tfind mode" dance.
    The target remote knows how to read live memory (through remote_ops).
    
    Remove set_traceframe_number and
    make_cleanup_restore_traceframe_number, since they are no longer used.
    
    gdb:
    
    2014-03-22  Yao Qi  <yao@codesourcery.com>
    
    	* remote.c (target_read_live_memory): Remove.
    	(memory_xfer_live_readonly_partial): Rename it to
    	remote_xfer_live_readonly_partial.  Remove argument 'object'.
    	All callers updated.  Call remote_read_bytes_1
    	instead of target_read_live_memory.
    	* tracepoint.c (set_traceframe_number): Remove.
    	(make_cleanup_restore_traceframe_number): Likewise .
    	* tracepoint.h (set_traceframe_number): Remove declaration.
    	(make_cleanup_restore_traceframe_number): Likewise.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9217e74e903fcc21755e7b320ce54a9209f9b5e7

commit 9217e74e903fcc21755e7b320ce54a9209f9b5e7
Author: Yao Qi <yao@codesourcery.com>
Date:   Tue Mar 11 11:19:12 2014 +0800

    Factor remote_read_bytes.
    
    This patch moves code in remote_read_bytes on reading from the remote
    stub to a new function remote_read_bytes_1.
    
    gdb:
    
    2014-03-22  Yao Qi  <yao@codesourcery.com>
    
    	* remote.c (remote_read_bytes): Move code on reading from the
    	remote stub to ...
    	(remote_read_bytes_1): ... here.  New function.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8acf9577e5acd99c23fe8f3fa87a961668de7805

commit 8acf9577e5acd99c23fe8f3fa87a961668de7805
Author: Yao Qi <yao@codesourcery.com>
Date:   Tue Mar 11 10:47:48 2014 +0800

    Move the traceframe_available_memory code from memory_xfer_partial_1 down to the targets
    
    As a follow-up to
    
      [PATCH 7/8] Adjust read_value_memory to use to_xfer_partial
      https://sourceware.org/ml/gdb-patches/2014-02/msg00384.html
    
    this patch moves traceframe_available_memory down to the target side.
    After this patch, the gdb core code is cleaner, and code on handling
    unavailable memory is moved to remote/tfile/ctf targets.
    
    In details, this patch moves traceframe_available_memory code from
    memory_xfer_partial_1 to remote target only, so remote target still
    uses traceframe_info mechanism to check unavailable memory, and use
    remote_ops to read them from read-only sections.  We don't use
    traceframe_info mechanism for tfile and ctf target, because it is
    fast to iterate all traceframes from trace file, so the summary
    information got from traceframe_info is not necessary.
    
    This patch also moves two functions to remote.c from target.c,
    because they are only used in remote.c.  I'll clean them up in another
    patch.
    
    gdb:
    
    2014-03-22  Yao Qi  <yao@codesourcery.com>
    
    	* ctf.c (ctf_xfer_partial): Check the return value of
    	exec_read_partial_read_only, if it is not TARGET_XFER_OK,
    	return TARGET_XFER_UNAVAILABLE.
    	* tracefile-tfile.c (tfile_xfer_partial): Likewise.
    	* target.c (target_read_live_memory): Move it to remote.c.
    	(memory_xfer_live_readonly_partial): Likewise.
    	(memory_xfer_partial_1): Move some code to remote_read_bytes.
    	* remote.c (target_read_live_memory): Moved from target.c.
    	(memory_xfer_live_readonly_partial): Likewise.
    	(remote_read_bytes): New, factored out from
    	memory_xfer_partial_1.

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

Summary of changes:
 gdb/ChangeLog         |   32 +++++++++++
 gdb/ctf.c             |   16 +++++-
 gdb/remote.c          |  132 ++++++++++++++++++++++++++++++++++++++++++++--
 gdb/target.c          |  138 -------------------------------------------------
 gdb/tracefile-tfile.c |   16 +++++-
 gdb/tracepoint.c      |   15 -----
 gdb/tracepoint.h      |    9 ---
 7 files changed, 188 insertions(+), 170 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]