This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Adjust ia64_linux_xfer_partial following to_xfer_partial API change.
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 26 Feb 2014 11:19:29 +0000
- Subject: Re: [commit] Adjust ia64_linux_xfer_partial following to_xfer_partial API change.
- Authentication-results: sourceware.org; auth=none
- References: <1393345450-20878-1-git-send-email-brobecker at adacore dot com> <530CD37F dot 3050106 at redhat dot com> <20140226021446 dot GA4348 at adacore dot com>
BTW, I forgot to say, but -- thanks for writing the change
and commit logs! :-)
--
Pedro Alves
On 02/26/2014 02:14 AM, Joel Brobecker wrote:
>
> 0001-Re-implement-ia64-linux-nat.c-ia64_linux_xfer_partia.patch
>
>
> From d16461aeef555da47e358b0f81c75912e4ea07e2 Mon Sep 17 00:00:00 2001
> From: Pedro Alves <palves@redhat.com>
> Date: Tue, 25 Feb 2014 20:45:50 -0500
> Subject: [PATCH] Re-implement ia64-linux-nat.c::ia64_linux_xfer_partial
>
> [description of this patch and ChangeLog entry by Joel Brobecker]
> The recent implementation was questionable, and if it worked, it was
> only by chance because the requested length is large enough that only
> one read was sufficient. Note that the implementation before that
> also made that assumption, in the form of only handling
> TARGET_OBJECT_UNWIND_TABLE xfer requests when offset was zero.
>
> gdb/ChangeLog:
>
> * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
> handling of object == TARGET_OBJECT_UNWIND_TABLE.
> ---
> gdb/ChangeLog | 5 +++++
> gdb/ia64-linux-nat.c | 35 +++++++++++++++++++++++------------
> 2 files changed, 28 insertions(+), 12 deletions(-)
>
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index e60ec1c..16f4619 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,3 +1,8 @@
> +2014-02-25 Pedro Alves <palves@redhat.com>
> +
> + * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
+ handling of object == TARGET_OBJECT_UNWIND_TABLE.