This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v10 20/28] record-btrace: provide xfer_partial target method
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Wed, 15 Jan 2014 15:51:37 +0000
- Subject: Re: [PATCH v10 20/28] record-btrace: provide xfer_partial target method
- Authentication-results: sourceware.org; auth=none
- References: <1389686678-9039-1-git-send-email-markus dot t dot metzger at intel dot com> <1389686678-9039-21-git-send-email-markus dot t dot metzger at intel dot com>
On 01/14/2014 08:04 AM, Markus Metzger wrote:
> @@ -1406,6 +1406,10 @@ raw_memory_xfer_partial (struct target_ops *ops, void *readbuf,
> if (res > 0)
> break;
>
> + /* Stop if the target reports that the memory is not available. */
Double space after period.
> + if (res == TARGET_XFER_E_UNAVAILABLE)
> + break;
--
Pedro Alves