This is the mail archive of the gdb-patches@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]

Re: [PATCH v9 21/29] record-btrace: provide xfer_partial target method


On 12/19/2013 04:44 PM, Markus Metzger wrote:
> +
> +	    /* We do not allow writing memory in general.  */
> +	    if (writebuf != NULL)
> +	      throw_error (NOT_AVAILABLE_ERROR,
> +			   _("This record target does not record memory."));

So printing globals errors out?

I thought you were going to return TARGET_XFER_E_UNAVAILABLE
anyway?  Did you try making raw_memory_xfer_partial return
immediately if ops->to_xfer_partial returns TARGET_XFER_E_UNAVAILABLE,
instead of proceeding to query the target beneath?

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]