[AArch64] Use debug_printf instead of fprintf_unfiltered
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index df98753740ce72da0cb8ab642c032017af634dd6..7b9ec9f439c7260e9e9d3325bdd5445362e8e9e0 100644 (file)
@@ -1,3 +1,296 @@
+2015-09-15  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_add_sub_imm): Use debug_printf.
+       (decode_adrp): Likewise.
+       (decode_b): Likewise.
+       (decode_bcond): Likewise.
+       (decode_br): Likewise.
+       (decode_cb): Likewise.
+       (decode_eret): Likewise.
+       (decode_movz): Likewise.
+       (decode_orr_shifted_register_x): Likewise.
+       (decode_ret): Likewise.
+       (decode_stp_offset): Likewise.
+       (decode_stp_offset_wb): Likewise.
+       (decode_stur): Likewise.
+       (decode_tb): Likewise.
+       (aarch64_analyze_prologue): Likewise.
+       (pass_in_x): Likewise.
+       (pass_in_v): Likewise.
+       (pass_on_stack): Likewise.
+       (aarch64_push_dummy_call): Likewise.
+       (aarch64_extract_return_value): Likewise.
+       (aarch64_store_return_value): Likewise.
+       (aarch64_return_value): Likewise.
+       (aarch64_record_asimd_load_store): Likewise.
+       (aarch64_record_load_store): Likewise.
+       (aarch64_record_data_proc_simd_fp): Likewise.
+
+2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linespec.c (minsym_found): Call gdbarch_skip_entrypoint.
+       * ppc64-tdep.c (ppc64_skip_trampoline_code): Rename to ...
+       (ppc64_skip_trampoline_code_1): ... here.
+       (ppc64_skip_trampoline_code): New wrapper function.
+       * symtab.c (find_function_start_sal): Call gdbarch_skip_entrypoint.
+
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_can_do_single_step): New
+       function.
+       (_initialize_aarch64_linux_nat): Install it to to_can_do_single_step.
+       * arm-linux-tdep.c (arm_linux_software_single_step): Return 0
+       if target_can_do_single_step returns 1.
+       * remote.c (struct vCont_action_support) <s, S>: New fields.
+       (PACKET_vContSupported): New enum.
+       (remote_protocol_features): New element for vContSupported.
+       (remote_query_supported): Append "vContSupported+".
+       (remote_vcont_probe): Remove support_s and support_S, use
+       rs->supports_vCont.s and rs->supports_vCont.S instead.  Disable
+       vCont packet if c and C actions are not supported.
+       (remote_can_do_single_step): New function.
+       (init_remote_ops): Install it to to_can_do_single_step.
+       (_initialize_remote): Call add_packet_config_cmd.
+       * target.h (struct target_ops) <to_can_do_single_step>: New field.
+       (target_can_do_single_step): New macro.
+       * target-delegates.c: Re-generated.
+
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_siginfo_fixup): New function.
+       (_initialize_aarch64_linux_nat): Call linux_nat_set_siginfo_fixup.
+       * nat/aarch64-linux.c (aarch64_compat_siginfo_from_siginfo):
+       New function.
+       (aarch64_siginfo_from_compat_siginfo): New function.
+       * nat/aarch64-linux.h: Include signal.h.
+       (compat_int_t, compat_uptr_t, compat_time_t): Typedef.
+       (compat_timer_t, compat_clock_t): Likewise.
+       (struct compat_timeval): New.
+       (union compat_sigval): New.
+       (struct compat_siginfo): New.
+       (cpt_si_pid, cpt_si_uid, cpt_si_timerid): New macros.
+       (cpt_si_overrun, cpt_si_status, cpt_si_utime): Likewise.
+       (cpt_si_stime, cpt_si_ptr, cpt_si_addr): Likewise.
+       (cpt_si_band, cpt_si_fd): Likewise.
+
+2015-09-14  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (current_stop_id): New global.
+       (get_stop_id, new_stop_id): New functions.
+       (fetch_inferior_event): Handle normal_stop proceeding the target.
+       (struct stop_context): New.
+       (save_stop_context, release_stop_context_cleanup)
+       (stop_context_changed): New functions.
+       (normal_stop): Return true if the hook-stop changes the stop
+       context.
+       * infrun.h (get_stop_id): Declare.
+       (normal_stop): Now returns int.  Add documentation.
+
+2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (ada_value_ptr_subscript): Update the heading
+       comment.  Handle packed arrays.
+
+2015-09-14  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (Changes in GDB 7.10, New commands>: Remove duplicate
+       mention of maint set/show target-non-stop.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+
+       * NEWS: Announce new remote packets for the exec-events
+       feature and the exec-events feature and associated commands.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+
+       * remote.c (remote_exec_event_p): New function.
+       (remote_insert_exec_catchpoint): New function.
+       (remote_remove_exec_catchpoint): New function.
+       (init_extended_remote_ops): Initialize extended_remote_ops
+       members to_insert_exec_catchpoint and
+       to_remove_exec_catchpoint.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+           Luis Machado  <lgustavo@codesourcery.com>
+
+       * infrun.c (follow_exec): Use process-style ptid for
+       exec message.  Call add_inferior_with_spaces and
+       target_follow_exec.
+       * nat/linux-ptrace.c (linux_supports_traceexec): New function.
+       * nat/linux-ptrace.h (linux_supports_traceexec): Declare.
+       * remote.c (remote_pspace_data): New static variable.
+       (remote_pspace_data_cleanup): New function.
+       (get_remote_exec_file): New function.
+       (set_remote_exec_file_1): New function.
+       (set_remote_exec_file): New function.
+       (show_remote_exec_file): New function.
+       (remote_exec_file): Delete static variable.
+       (anonymous enum) <PACKET_exec_event_feature>: New
+       enumeration constant.
+       (remote_protocol_features): Add entry for exec-events feature.
+       (remote_query_supported): Add client side of qSupported query
+       for exec-events feature.
+       (remote_follow_exec): New function.
+       (remote_parse_stop_reply): Handle 'exec' stop reason.
+       (extended_remote_run, extended_remote_create_inferior): Call
+       get_remote_exec_file and set_remote_exec_file_1.
+       (init_extended_remote_ops) <to_follow_exec>: Initialize new
+       member.
+       (_initialize_remote): Call
+       register_program_space_data_with_cleanup.  Call
+       add_packet_config_cmd for remote exec-events feature.
+       Modify call to add_setshow_string_noescape_cmd for exec-file
+       to use new functions set_remote_exec_file and
+       show_remote_exec_file.
+       * target-debug.h, target-delegates.c: Regenerated.
+       * target.c (target_follow_exec): New function.
+       * target.h (struct target_ops) <to_follow_exec>: New member.
+       (target_follow_exec): Declare new function.
+
+2015-09-11  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_cb): Move up comment describing the
+       encoding.
+       (decode_tb): Fix a typo in comment above the function.  Move up
+       comment describing the encoding.
+
+2015-09-11  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_bcond): Fix incorrect mask.
+
+2015-09-11  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
+
+       PR gdb/18947
+       * aarch64-linux-tdep.c: (aarch64_linux_init_abi): Install
+       glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback.
+
+2015-09-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ada-lang.c (scan_discrim_bound): Factor out arithmetic
+       operations.
+
+2015-09-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ada-lang.c (ada_search_struct_field): Constify parameters
+       and/or variables..
+       (xget_renaming_scope): Likewise.
+       (ada_is_redundant_range_encoding): Likewise.
+       (scan_discrim_bound): Likewise.
+       (to_fixed_range_type): Likewise.
+
+2015-09-10  Yao Qi  <yao.qi@linaro.org>
+
+       * breakpoint.c (download_tracepoint_locations): New local
+       can_download_tracepoint.  Check the result of
+       target_can_download_tracepoint and save it in
+       can_download_tracepoint if there are tracepoints to download.
+       * linux-nat.h (enum tribool): Move it to ...
+       * common/common-types.h: ... here.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * inf-loop.c (inferior_event_handler): Delete INF_TIMER case.
+       * target.h (enum inferior_event_type) <INF_TIMER>: Delete.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * continuations.c (add_continuation, restore_thread_cleanup)
+       (do_all_continuations_ptid, do_all_continuations_thread_callback)
+       (do_all_continuations_thread, do_all_continuations)
+       (discard_all_continuations_thread_callback)
+       (discard_all_continuations_thread, discard_all_continuations)
+       (add_intermediate_continuation)
+       (do_all_intermediate_continuations_thread_callback)
+       (do_all_intermediate_continuations_thread)
+       (do_all_intermediate_continuations)
+       (discard_all_intermediate_continuations_thread_callback)
+       (discard_all_intermediate_continuations_thread)
+       (discard_all_intermediate_continuations): Delete.
+       * continuations.h (add_continuation, do_all_continuations)
+       (do_all_continuations_thread, discard_all_continuations)
+       (discard_all_continuations_thread, add_intermediate_continuation)
+       (do_all_intermediate_continuations)
+       (do_all_intermediate_continuations_thread)
+       (discard_all_intermediate_continuations)
+       (discard_all_intermediate_continuations_thread): Delete
+       declarations.
+       * event-top.c (stdin_event_handler): Delete references to
+       continuations.
+       * gdbthread.h (struct thread_info): Delete continuations and
+       intermediate_continuations fields.
+       * inf-loop.c (inferior_event_handler): Remove references to
+       continuations.
+       * infrun.c (infrun_thread_stop_requested_callback): Remove
+       references to continuations.
+       * target.h (enum inferior_event_type) <INF_EXEC_CONTINUE>: Delete.
+       * thread.c: Don't include "continuations.h".
+       (clear_thread_inferior_resources): Remove references to
+       continuations.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * infcall.c (struct dummy_frame_context_saver): Delete.
+       (dummy_frame_context_saver_free, dummy_frame_context_saver_dtor)
+       (dummy_frame_context_saver_drop)
+       (dummy_frame_context_saver_cleanup)
+       (dummy_frame_context_saver_get_regs)
+       (dummy_frame_context_saver_setup): Delete.
+       * infcall.h (dummy_frame_context_saver_drop)
+       (dummy_frame_context_saver_cleanup)
+       (dummy_frame_context_saver_get_regs, dummy_frame_context_saver):
+       Delete.
+       (get_return_value): Remove 'ctx_saver' paremeter.  Adjust.
+       * inferior.h (get_return_value): Remove 'ctx_saver' paremeter.
+       * python/py-finishbreakpoint.c (bpfinishpy_pre_stop_hook): Adjust.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c: Include "thread-fsm.h".
+       (struct until_break_command_continuation_args): Delete.
+       (struct until_break_fsm): New.
+       (until_break_fsm_ops): New global.
+       (new_until_break_fsm, until_break_fsm_should_stop): New functions.
+       (until_break_command_continuation): Delete.
+       (until_break_fsm_clean_up): New function.
+       (until_break_fsm_async_reply_reason): New function.
+       (until_break_command): Adjust to create an until_break_fsm instead
+       of a continuation.
+       (momentary_bkpt_print_it): No longer print MI's async-stop-reason
+       here.
+       * infcmd.c (struct until_next_fsm): New.
+       (until_next_fsm_ops): New global.
+       (new_until_next_fsm, until_next_fsm_should_stop): New function.
+       (until_next_continuation): Delete.
+       (until_next_fsm_clean_up, until_next_fsm_async_reply_reason): New
+       functions.
+       (until_next_command): Adjust to create a new until_next_fsm
+       instead of a continuation.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * infcall.c: Include thread_fsm.h.
+       (struct call_return_meta_info): New.
+       (get_call_return_value): New function, factored out from
+       call_function_by_hand_dummy.
+       (struct call_thread_fsm): New.
+       (call_thread_fsm_ops): New global.
+       (new_call_thread_fsm, call_thread_fsm_should_stop)
+       (call_thread_fsm_should_notify_stop): New functions.
+       (run_inferior_call): Add 'sm' parameter.  Associate the FSM with
+       the thread.
+       (call_function_by_hand_dummy): Create a new call_thread_fsm
+       instance, associate it with the thread, and wait for the FSM to
+       finish.  If finished successfully, fetch the function's result
+       value out of the FSM.
+       * infrun.c (fetch_inferior_event): If the FSM says the stop
+       shouldn't be notified, don't call normal_stop.
+       (maybe_remove_breakpoints): New function, factored out from ...
+       (normal_stop): ... here.  Simplify.
+       * infrun.h (maybe_remove_breakpoints): Declare.
+       * thread-fsm.c (thread_fsm_should_notify_stop): New function.
+       (thread-fsm.h) <struct thread_fsm_ops>: New field.
+       (thread_fsm_should_notify_stop): Declare.
+
 2015-09-09  Pedro Alves  <palves@redhat.com>
 
        * Makefile.in (COMMON_OBS): Add thread-fsm.o.
This page took 0.026473 seconds and 4 git commands to generate.