Move the traceframe_available_memory code from memory_xfer_partial_1 down to the...
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a1e8c34a3f181c09f9d0c05b7fbd9df581f14c0e..14322dbc38535ae85e9009aa85406c6ca2d99b73 100644 (file)
@@ -1,3 +1,17 @@
+2014-03-22  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_xfer_partial): Check the return value of
+       exec_read_partial_read_only, if it is not TARGET_XFER_OK,
+       return TARGET_XFER_UNAVAILABLE.
+       * tracefile-tfile.c (tfile_xfer_partial): Likewise.
+       * target.c (target_read_live_memory): Move it to remote.c.
+       (memory_xfer_live_readonly_partial): Likewise.
+       (memory_xfer_partial_1): Move some code to remote_read_bytes.
+       * remote.c (target_read_live_memory): Moved from target.c.
+       (memory_xfer_live_readonly_partial): Likewise.
+       (remote_read_bytes): Factored out from
+       memory_xfer_partial_1.
+
 2014-03-21  Daniel Gutson  <daniel.gutson@tallertechnologies.com>
 
        * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
This page took 0.023944 seconds and 4 git commands to generate.