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


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  ce6d08922f2875544f9ba461a849726ceff84528 (commit)
       via  2ed4b5488f68c63da0713dc008ba8b688a742386 (commit)
       via  c09f20e469dbed255f419433b06a2808ae0a40a8 (commit)
       via  8635b3bf5980d6968d277ed83442c96544830a1b (commit)
      from  1f25b93bc6e10b314ccdc5c42583f77db1b33e2e (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=ce6d08922f2875544f9ba461a849726ceff84528

commit ce6d08922f2875544f9ba461a849726ceff84528
Author: Yao Qi <yao@codesourcery.com>
Date:   Wed Jan 29 11:48:40 2014 +0800

    Return early in target_xfer_partial when LEN is zero.
    
    Nowadays, argument LEN of to_xfer_partial can be zero in some cases,
    and each implementation may do nothing and return zero, indicating
    transfer is done.  That is fine.  However, when we change
    to_xfer_partial to return target_xfer_status, we have to check every
    return value of most of to_xfer_partial implementations, return
    TARGET_XFER_DONE if return value is zero.
    
    This patch simplifies this by checking LEN in target_xfer_partial, and
    return 0 if LEN is zero.  Regression tested on x86_84-linux.  Is it
    OK?
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* target.c (target_xfer_partial): Return zero if LEN is zero.

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

commit 2ed4b5488f68c63da0713dc008ba8b688a742386
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Jan 27 17:32:33 2014 +0800

    Replace -1 with TARGET_XFER_E_IO
    
    Hi,
    This patch replaces -1 with TARGET_XFER_E_IO in the implementations of
    to_xfer_partial and their callees.  This change is quite mechanical,
    and makes the next patch shorter.
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
    	(ld_so_xfer_auxv): Likewise.
    	* bfd-target.c (target_bfd_xfer_partial): Likewise.
    	* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
    	* corelow.c (core_xfer_partial): Likewise.
    	* ctf.c (ctf_xfer_partial): Likewise.
    	* darwin-nat.c (darwin_read_dyld_info): Likewise.
    	(darwin_xfer_partial): Likewise.
    	* exec.c (exec_xfer_partial): Likewise.
    	* gnu-nat.c (gnu_xfer_partial): Likewise.
    	* ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
    	* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
    	* inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
    	* linux-nat.c (linux_xfer_siginfo): Likewise.
    	(linux_proc_xfer_spu): Likewise.
    	* procfs.c (procfs_xfer_partial): Likewise.
    	* record-full.c (record_full_xfer_partial): Likewise.
    	(record_full_core_xfer_partial): Likewise.
    	* remote-sim.c (gdbsim_xfer_partial): Likewise.
    	* remote.c (remote_write_qxfer): Likewise.
    	(remote_write_qxfer, remote_read_qxfer): Likewise.
    	(remote_xfer_partial): Likewise.
    	* rs6000-nat.c (rs6000_xfer_partial): Likewise.
    	(rs6000_xfer_shared_libraries): Likewise.
    	* sparc-nat.c (sparc_xfer_wcookie): Likewise.
    	* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
    	(spu_xfer_partial): Likewise.
    	* target.c (memory_xfer_partial_1): Likewise.
    	* tracepoint.c (tfile_xfer_partial): Likewise.
    	* windows-nat.c (windows_xfer_shared_libraries): Likewise.
    	(windows_xfer_partial): Likewise.

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

commit c09f20e469dbed255f419433b06a2808ae0a40a8
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Jan 27 12:56:56 2014 +0800

    core_xfer_shared_libraries and core_xfer_shared_libraries_aix returns ULONGEST
    
    This patch documents the return value of core_xfer_shared_libraries_aix
    and core_xfer_shared_libraries gdbarch methods, and changes return
    type to ULONGEST from LONGEST.
    
    In a following patch, core_xfer_partial. is changed to check their
    return values and return an appropriate target_xfer_status.
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST.  Add
    	comments.
    	(core_xfer_shared_libraries_aix): Likewise.
    	* gdbarch.c, gdbarch.h: Regenerated.
    	* i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
    	ULONGEST.  Change 'len_avail' type to ULONGEST.
    	* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
    	* rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
    	declaration.
    	(rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.

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

commit 8635b3bf5980d6968d277ed83442c96544830a1b
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Nov 4 08:51:19 2013 +0800

    Tweak in memory_error
    
    This patch adds a local variable exception of type 'enum errors' and
    pass it to throw_error, because 'err' is of type
    'enum target_xfer_error', and we're abusing it to store an 'enum errors'.
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* corefile.c (memory_error): Get 'exception' from ERR and pass
    	'exception' to throw_error.

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

Summary of changes:
 gdb/ChangeLog          |   56 ++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/auxv.c             |   14 ++++++------
 gdb/bfd-target.c       |    2 +-
 gdb/bsd-kvm.c          |    2 +-
 gdb/corefile.c         |    7 +++--
 gdb/corelow.c          |   26 +++++++++++-----------
 gdb/ctf.c              |    2 +-
 gdb/darwin-nat.c       |    6 ++--
 gdb/exec.c             |    2 +-
 gdb/gdbarch.c          |    4 +-
 gdb/gdbarch.h          |   15 +++++++-----
 gdb/gdbarch.sh         |    9 +++++--
 gdb/gnu-nat.c          |    2 +-
 gdb/i386-cygwin-tdep.c |    4 +-
 gdb/ia64-hpux-nat.c    |    2 +-
 gdb/inf-ptrace.c       |   10 ++++----
 gdb/inf-ttrace.c       |    8 +++---
 gdb/linux-nat.c        |   10 ++++----
 gdb/procfs.c           |    4 +-
 gdb/record-full.c      |    6 ++--
 gdb/remote-sim.c       |    2 +-
 gdb/remote.c           |   20 ++++++++--------
 gdb/rs6000-aix-tdep.c  |    6 ++--
 gdb/rs6000-aix-tdep.h  |   12 +++++-----
 gdb/rs6000-nat.c       |    4 +-
 gdb/sparc-nat.c        |    2 +-
 gdb/spu-linux-nat.c    |    4 +-
 gdb/target.c           |   10 ++++++--
 gdb/tracepoint.c       |    4 +-
 gdb/windows-nat.c      |    4 +-
 30 files changed, 163 insertions(+), 96 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]