Move the traceframe_available_memory code from memory_xfer_partial_1 down to the...
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7f99a5a0b385f11cfb078b38bf14beccbc72b97e..14322dbc38535ae85e9009aa85406c6ca2d99b73 100644 (file)
@@ -1,3 +1,100 @@
+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
+       NULL pointer.
+
+2014-03-21  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (normal_stop): Extend comment.
+
+2014-03-21  Hui Zhu  <hui@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
+       static buffer.
+       * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
+       * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
+       * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
+
+2014-03-20  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
+       `z' formatted output modifier.
+
+2014-03-20  Tom Tromey  <tromey@redhat.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * probe.c (parse_probes): Turn assert into an ordinary error.
+       * break-catch-throw.c (re_set_exception_catchpoint): Ignore
+       exceptions when parsing probes.  Rearrange the code for clarity.
+
+2014-03-20  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/14135
+       * top.c (execute_command): Only dispatch events if the command
+       started the target.
+
+2014-03-20  Tom Tromey  <tromey@redhat.com>
+
+       PR cli/15718
+       * infcall.c: Include event-top.h.
+       (run_inferior_call): Call async_disable_stdin if needed.
+
+2014-03-20  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (prepare_to_proceed): Delete.
+       (thread_still_needs_step_over): New function.
+       (find_thread_needs_step_over): New function.
+       (proceed): If the current thread needs a step-over, set its
+       steping_over_breakpoint flag.  Adjust to use
+       find_thread_needs_step_over instead of prepare_to_proceed.
+       (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
+       BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
+       breakpoint.
+       (switch_back_to_stepped_thread): Step over breakpoints of all
+       threads not the stepping thread, before switching back to the
+       stepping thread.
+
+2014-03-20  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
+       extern.
+       * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
+       * infrun.c (saved_singlestep_ptid)
+       (stepping_past_singlestep_breakpoint): Delete.
+       (resume): Remove stepping_past_singlestep_breakpoint handling.
+       (proceed): Store the prev_pc of the stepping thread too.
+       (init_wait_for_inferior): Adjust.  Clear singlestep_ptid and
+       singlestep_pc.
+       (enum infwait_states): Delete infwait_thread_hop_state.
+       (struct execution_control_state) <hit_singlestep_breakpoint>: New
+       field.
+       (handle_inferior_event): Adjust.
+       (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
+       handling and the thread-hop code.  Before removing single-step
+       breakpoints, check whether the thread hit a single-step breakpoint
+       of another thread.  If it did, the trap is not a random signal.
+       (switch_back_to_stepped_thread): If the event thread hit a
+       single-step breakpoint, unblock it before switching to the
+       stepping thread.  Handle the case of the stepped thread having
+       advanced already.
+       (keep_going): Handle the case of the current thread moving past a
+       single-step breakpoint.
+
 2014-03-20  Pedro Alves  <palves@redhat.com>
 
        PR breakpoints/7143
This page took 0.025034 seconds and 4 git commands to generate.