Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/6] Return target_xfer_status in to_xfer_partial
@ 2014-01-31  3:37 Yao Qi
  2014-01-31  3:37 ` [PATCH 2/6] core_xfer_shared_libraries and core_xfer_shared_libraries_aix returns ULONGEST Yao Qi
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Yao Qi @ 2014-01-31  3:37 UTC (permalink / raw)
  To: gdb-patches

Hi,
This patch series change target_ops method to_xfer_partial to return
target_xfer_status and the transfered length, which was discussed
before https://sourceware.org/ml/gdb-patches/2013-10/msg00761.html

Patch #1, #2 and #3 are cleanup and refactor patches, and patch #5
does the change.  Patch #4 is to let all to_xfer_partial
implementation not worry about 'len == 0'.  With this patch series,
target implementations to to_xfer_partial can set unavailable by
its own, and make it easier to handle unavailable data.

This patch series don't include changes to target ctf and tfile.
I'll do that in next step.

Regression tested on x86_64-linux.  Rebuild GDB in the following
ways:

 - on x86-linux, with all targets enabled,
 - cross build native mingw32,mips-linux,hurd,sparc-linux, gdb on
   linux,
 - build native powerpc-linux gdb on gcc110
 - build spu-elf target on gcc110
 - build aix native gdb on gcc111

Is it OK?

*** BLURB HERE ***

Yao Qi (6):
  Tweak in memory_error
  core_xfer_shared_libraries and core_xfer_shared_libraries_aix returns
    ULONGEST
  Replace -1 with TARGET_XFER_E_IO
  Return early in target_xfer_partial when LEN is zero.
  Return target_xfer_status in to_xfer_partial
  Update comments to to_xfer_partial implementations.

 gdb/aix-thread.c       |   14 +--
 gdb/auxv.c             |   83 +++++++++------
 gdb/bfd-target.c       |    9 +-
 gdb/bsd-kvm.c          |   20 +++-
 gdb/bsd-uthread.c      |   11 +-
 gdb/corefile.c         |   40 +++++---
 gdb/corelow.c          |  111 +++++++++++++++------
 gdb/ctf.c              |   23 +++-
 gdb/darwin-nat.c       |   35 +++++--
 gdb/exec.c             |   30 ++++--
 gdb/exec.h             |   12 ++-
 gdb/gdbarch.c          |    4 +-
 gdb/gdbarch.h          |   15 ++-
 gdb/gdbarch.sh         |    9 +-
 gdb/gdbcore.h          |    4 +-
 gdb/gnu-nat.c          |   24 +++--
 gdb/i386-cygwin-tdep.c |    4 +-
 gdb/ia64-hpux-nat.c    |   60 ++++++-----
 gdb/inf-ptrace.c       |   43 +++++----
 gdb/inf-ttrace.c       |   24 +++--
 gdb/linux-nat.c        |  109 +++++++++++++-------
 gdb/monitor.c          |   19 ++--
 gdb/procfs.c           |   14 ++-
 gdb/record-btrace.c    |   13 ++-
 gdb/record-full.c      |   29 +++---
 gdb/remote-sim.c       |   26 +++--
 gdb/remote.c           |  151 ++++++++++++++++------------
 gdb/rs6000-aix-tdep.c  |    6 +-
 gdb/rs6000-aix-tdep.h  |   12 +-
 gdb/rs6000-nat.c       |   35 ++++---
 gdb/sol-thread.c       |   10 +-
 gdb/sparc-nat.c        |   24 +++--
 gdb/spu-linux-nat.c    |   62 +++++++----
 gdb/spu-multiarch.c    |   18 ++--
 gdb/target.c           |  269 +++++++++++++++++++++++++++++------------------
 gdb/target.h           |   39 +++++---
 gdb/tracepoint.c       |   18 ++--
 gdb/valprint.c         |    4 +-
 gdb/windows-nat.c      |   39 ++++---
 39 files changed, 917 insertions(+), 555 deletions(-)

-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-02-11  6:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31  3:37 [PATCH 0/6] Return target_xfer_status in to_xfer_partial Yao Qi
2014-01-31  3:37 ` [PATCH 2/6] core_xfer_shared_libraries and core_xfer_shared_libraries_aix returns ULONGEST Yao Qi
2014-02-06 14:43   ` Pedro Alves
2014-02-07  4:21     ` Yao Qi
2014-01-31  3:37 ` [PATCH 1/6] Tweak in memory_error Yao Qi
2014-02-06 12:41   ` Pedro Alves
2014-02-07  4:21     ` Yao Qi
2014-01-31  3:38 ` [PATCH 4/6] Return early in target_xfer_partial when LEN is zero Yao Qi
2014-02-06 14:44   ` Pedro Alves
2014-01-31  3:38 ` [PATCH 3/6] Replace -1 with TARGET_XFER_E_IO Yao Qi
2014-02-06 14:43   ` Pedro Alves
2014-01-31  3:38 ` [PATCH 6/6] Update comments to to_xfer_partial implementations Yao Qi
2014-01-31  3:50   ` Joel Brobecker
2014-01-31  3:39 ` [PATCH 5/6] Return target_xfer_status in to_xfer_partial Yao Qi
2014-02-06 14:44   ` Pedro Alves
2014-02-07  2:11     ` Yao Qi
2014-02-11  6:35     ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox