Fix -Wno-unknown-warning support detection
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 2471dc1319a55ce43adafb57da95213e53a2493a..d54bb7404d99ec15442d59beb9c116d4d51ed00d 100644 (file)
@@ -1,3 +1,367 @@
+2015-12-16  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac (compiler warning flags): When testing a
+       -Wno-foo option, check whether -Wfoo works instead.
+       * configure: Regenerate.
+
+2015-12-11  Don Breazeal  <donb@codesourcery.com>
+
+       * server.c (process_serial_event): Don't exit from gdbserver
+       in remote mode if there are still active inferiors.
+
+2015-12-11  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_breakpoint_at): Call
+       arm_breakpoint_at if the process is 32-bit.
+
+2015-12-11  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch32-low.c [__aarch64__]: Use arm_abi_breakpoint
+       arm breakpoint.
+
+2015-12-07  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.srv: Append arm.o to srv_tgtobj for
+       aarch64*-*-linux* target.
+       * linux-aarch32-low.c (arm_abi_breakpoint): New macro.  Moved
+       from linux-arm-low.c.
+       (arm_eabi_breakpoint, arm_breakpoint): Likewise.
+       (arm_breakpoint_len, thumb_breakpoint): Likewise.
+       (thumb_breakpoint_len, thumb2_breakpoint): Likewise.
+       (thumb2_breakpoint_len): Likewise.
+       (arm_is_thumb_mode, arm_breakpoint_at): Likewise.
+       (arm_breakpoint_kinds): Likewise.
+       (arm_breakpoint_kind_from_pc): Likewise.
+       (arm_sw_breakpoint_from_kind): Likewise.
+       (arm_breakpoint_kind_from_current_state): Likewise.
+       * linux-aarch32-low.h (arm_breakpoint_kind_from_pc): Declare.
+       (arm_sw_breakpoint_from_kind): Declare.
+       (arm_breakpoint_kind_from_current_state): Declare.
+       (arm_breakpoint_at): Declare.
+       * linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): Call
+       arm_sw_breakpoint_from_kind if process is 32-bit.
+       (aarch64_breakpoint_kind_from_pc): New function.
+       (aarch64_breakpoint_kind_from_current_state): New function.
+       (the_low_target): Initialize fields breakpoint_kind_from_pc
+       and breakpoint_kind_from_current_state.
+       * linux-arm-low.c (arm_breakpoint_kinds): Move to
+       linux-aarch32-low.c.
+       (arm_abi_breakpoint, arm_eabi_breakpoint): Likewise.
+       (arm_breakpoint, arm_breakpoint_len): Likewise.
+       (thumb_breakpoint, thumb_breakpoint_len): Likewise.
+       (thumb2_breakpoint, thumb2_breakpoint_len): Likewise.
+       (arm_is_thumb_mode): Likewise.
+       (arm_breakpoint_at): Likewise.
+       (arm_breakpoint_kind_from_pc): Likewise.
+       (arm_sw_breakpoint_from_kind): Likewise.
+       (arm_breakpoint_kind_from_current_state): Likewise.
+
+       Revert:
+       2015-08-04  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_supports_z_point_type): Return
+       0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging.
+       * server.c (extended_protocol): Remove "static".
+       * server.h (extended_protocol): Declare it.
+
+2015-12-04  Josh Stone  <jistone@redhat.com>
+
+       * target.h (struct target_ops) <arch_setup>: Rename to ...
+       (struct target_ops) <post_create_inferior>: ... this.
+       (target_arch_setup): Rename to ...
+       (target_post_create_inferior): ... this, calling post_create_inferior.
+       * server.c (start_inferior): Update target_arch_setup calls to
+       target_post_create_inferior.
+       * linux-low.c (linux_low_ptrace_options): Forward declare.
+       (linux_arch_setup): Update its comment for general use.
+       (linux_post_create_inferior): New, run arch_setup and setup ptrace.
+       (struct linux_target_ops): Use linux_post_create_inferior.
+       * lynx-low.c (struct lynx_target_ops): Update arch_setup stub comment
+       to post_create_inferior.
+       * nto-low.c (struct nto_target_ops): Likewise.
+       * spu-low.c (struct spu_target_ops): Likewise.
+       * win32-low.c (struct win32_target_ops): Likewise.
+
+2015-12-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-arm-low.c: Remove duplicate arch/arm.h include.
+
+2015-11-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-arm-low.c (arm_reinsert_addr): Remove function.
+       (struct linux_target_ops <breakpoint_reinsert_addr>: Set to NULL.
+       * linux-cris-low.c (cris_reinsert_addr> Remove function.
+       (struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
+       * linux-crisv32-low.c (cris_reinsert_addr): Remove function.
+       (struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
+       * linux-mips-low.c (mips_reinsert_addr): Remove function.
+       (struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
+       * linux-nios2-low.c (nios2_reinsert_addr): Remove function.
+       (struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
+       * linux-sparc-low.c (sparc_reinsert_addr): Remove function.
+       (struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
+
+2015-11-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-low.c (linux_look_up_symbols): Don't call
+       linux_supports_traceclone.
+       * linux-low.h (thread_db_init): Remove use_events argument.
+       * thread-db.c (thread_db_use_event): Remove global variable.
+       (struct thread_db) <td_thr_event_enable_p>: Remove field.
+       (struct thread_db) <td_create_bp>: Remove field.
+       (thread_db_create_event): Remove function.
+       (thread_db_enable_reporting): Likewise.
+       (find_one_thread): Don't check for thread_db_use_events.
+       (attach_thread): Likewise.
+       (thread_db_load_search): Remove td_thr_event_enable_p initialization.
+       (try_thread_db_load_1): Don't check for thread_db_use_events.
+       (thread_db_init): Remove use_events argument and thread events
+       handling.
+       (remove_thread_event_breakpoints): Remove function.
+       (thread_db_detach): Remove call to remove_thred_event_breakpoints.
+
+2015-11-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-aarch64-low.c (aarch64_supports_hardware_single_step):
+       New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-arm-low.c (arm_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-bfin-low.c (bfin_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <bfin_supports_hardware_single_step>:
+       Initialize.
+       * linux-crisv32-low.c (cris_supports_hardware_single_step):
+       New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-low.c (can_hardware_single_step): Use
+       supports_hardware_single_step.
+       (can_software_single_step): New function.
+       (start_step_over): Call can_software_single_step.
+       (linux_supports_hardware_single_step): New function.
+       (struct target_ops) <supports_software_single_step>: Initialize.
+       * linux-low.h (struct linux_target_ops)
+       <supports_hardware_single_step>: Initialize.
+       * linux-m32r-low.c (m32r_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-ppc-low.c (ppc_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <supports_hardware_single_step> Initialize.
+       * linux-s390-low.c (s390_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-sh-low.c (sh_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-tic6x-low.c (tic6x_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <tic6x_supports_hardware_single_step>:
+       Initialize.
+       * linux-tile-low.c (tile_supports_hardware_single_step): New function.
+       (struct linux_target_ops) <tile_supports_hardware_single_step>:
+       Initialize.
+       * linux-x86-low.c (x86_supports_hardware_single_step) New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * linux-xtensa-low.c (xtensa_supports_hardware_single_step):
+       New function.
+       (struct linux_target_ops) <supports_hardware_single_step>: Initialize.
+       * target.h (struct target_ops): <supports_software_single_step>:
+       New field.
+       (target_supports_software_single_step): New macro.
+
+2015-11-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-low.c (linux_wait_1): Fix pc advance condition.
+       * mem-break.c (reinsert_breakpoint_inserted_here): New function.
+       * mem-break.h (reinsert_breakpoint_inserted_here): New declaration.
+
+2015-11-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * linux-arm-low.c (arm_is_thumb_mode): New function.
+       (arm_breakpoint_at): Use arm_is_thumb_mode.
+       (arm_breakpoint_kind_from_current_state): New function.
+       (struct linux_target_ops) <breakpoint_kind_from_current_state>:
+       Initialize.
+       * linux-low.c (linux_wait_1): Call breakpoint_kind_from_current_state.
+       (linux_breakpoint_kind_from_current_state): New function.
+       (struct target_ops <breakpoint_kind_from_current_state>: Initialize.
+       * linux-low.h (struct linux_target_ops)
+       <breakpoint_kind_from_current_state>: New field.
+       * target.h (struct target_ops): Likewise.
+       (target_breakpoint_kind_from_current_state): New macro.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_resume): Wake up the event loop before
+       returning.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * mem-break.c (check_gdb_bp_preconditions): Remove current_thread
+       check.
+       (set_gdb_breakpoint): If prepare_to_access_memory fails, set *ERR
+       to -1.
+       * target.c (struct thread_search): New structure.
+       (thread_search_callback): New function.
+       (prev_general_thread): New global.
+       (prepare_to_access_memory, done_accessing_memory): New functions.
+       * target.h (prepare_to_access_memory, done_accessing_memory):
+       Replace macros with function declarations.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       PR 14618
+       * linux-low.c (linux_wait_1): If the last resumed thread is gone,
+       report TARGET_WAITKIND_NO_RESUMED.
+       * remote-utils.c (prepare_resume_reply): Handle
+       TARGET_WAITKIND_NO_RESUMED.
+       * server.c (report_no_resumed): New global.
+       (handle_query) <qSupported>: Handle "no-resumed+".  Report
+       "no-resumed+" support.
+       (resume): When the target reports TARGET_WAITKIND_NO_RESUMED, only
+       return error if the client doesn't support no-resumed events.
+       (push_stop_notification): New function.
+       (handle_target_event): Use it.  Report TARGET_WAITKIND_NO_RESUMED
+       events if the client supports them.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (thread_still_has_status_pending_p): Don't check
+       vCont;t here.
+       (lwp_resumed): New function.
+       (status_pending_p_callback): Return early if the LWP is not
+       supposed to be resumed.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Assert that the LWP's
+       waitstatus is TARGET_WAITKIND_IGNORE.  If GDB wants to hear about
+       thread create events, leave the new child's status pending.
+       (linux_low_filter_event): If GDB wants to hear about thread exit
+       events, leave the LWP marked dead and don't delete it.
+       (linux_wait_for_event_filtered): Don't check for thread exit.
+       (filter_exit_event): New function.
+       (linux_wait_1): Use it, when returning an exit event.
+       (linux_resume_one_lwp_throw): Assert that the LWP's
+       waitstatus is TARGET_WAITKIND_IGNORE.
+       * remote-utils.c (prepare_resume_reply): Handle
+       TARGET_WAITKIND_THREAD_CREATED and TARGET_WAITKIND_THREAD_EXITED.
+       * server.c (report_thread_events): New global.
+       (handle_general_set): Handle QThreadEvents.
+       (handle_query) <qSupported>: Handle and report QThreadEvents+;
+       (handle_target_event): Handle TARGET_WAITKIND_THREAD_CREATED and
+       TARGET_WAITKIND_THREAD_EXITED.
+       * server.h (report_thread_events): Declare.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (resume_stopped_resumed_lwps): Don't check whether
+       the thread's last_resume_kind was resume_stop.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_attach): In non-stop mode, wait for one stop
+       before returning.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * server.c (handle_v_requests): Handle vCtrlC.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (find_any_thread_of_pid): Declare.
+       * inferiors.c (thread_of_pid, find_any_thread_of_pid): New
+       functions.
+       * server.c (handle_query): If current_thread is NULL, look for
+       another thread of the selected process.
+
+2015-11-26  Daniel Colascione  <dancol@dancol.org>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-low.c (linux_target_ops): Use linux_proc_tid_get_name.
+       * server.c (handle_qxfer_threads_worker): Refactor to include thread
+       name in reply.
+       * target.h (struct target_ops) <thread_name>: New field.
+       (target_thread_name): New macro.
+
+2015-11-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * regcache.h (regcache_invalidate_pid): Add declaration.
+       * regcache.c (regcache_invalidate_pid): New function, extracted
+       from regcache_invalidate.
+       (regcache_invalidate): Reimplement using regcache_invalidate_pid.
+       Add trivial documentation comment.
+       * lynx-low.c: Use regcache_invalidate_pid instead of
+       regcache_invalidate.
+
+2015-11-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Do not call AC_CHECK_TYPES for Elf32_auxv_t
+       and Elf64_auxv_t if the target is Android.
+
+2015-11-22  Doug Evans  <xdje42@gmail.com>
+
+       * target.h: #include <sys/types.h>.
+
+2015-11-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_process_qsupported): Change prototype.
+       Adjust.
+       * linux-low.h (struct linux_target_ops) <process_qsupported>:
+       Change prototype.
+       * linux-x86-low.c (x86_linux_process_qsupported): Change prototype
+       and adjust to loop over all features.
+       * server.c (handle_query) <qSupported>: Adjust to call
+       target_process_qsupported once, passing it a vector of unprocessed
+       features.
+       * target.h (struct target_ops) <process_qsupported>: Change
+       prototype.
+       (target_process_qsupported): Adjust.
+
+2015-11-19  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac (ERROR_ON_WARNING): Don't check whether in C++
+       mode.
+       * configure: Regenerate.
+
+2015-11-19  Pedro Alves  <palves@redhat.com>
+
+       * configure: Regenerate.
+
+2015-11-19  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (emit_data_processing_reg): Change opcode
+       type to uint32_t.
+
+2015-11-19  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (enum aarch64_operand_type): New.
+       (struct aarch64_operand): Move enum out.
+
+2015-11-19  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_fill_fpregset): Cast buf to
+       struct user_fpsimd_state *.
+       (aarch64_store_fpregset): Likewise.
+
+2015-11-19  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_fill_gregset): Cast buf to
+       struct user_pt_regs *.
+       (aarch64_store_gregset): Likewise.
+
+2015-11-18  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (all_object_files): Add $IPA_OBJS.
+
+2015-11-17  Pedro Alves  <palves@redhat.com>
+
+       * win32-low.c (win32_resume): Use gdb_signal_from_host,
+       GDB_SIGNAL_0 and gdb_signal_to_string.
+
+2015-11-17  Pedro Alves  <palves@redhat.com>
+
+       * win32-low.c (handle_output_debug_string): Remove parameter.
+       (win32_kill): Remove our_status local and adjust call to
+       handle_output_debug_string.
+       (get_child_debug_event): Adjust call to
+       handle_output_debug_string.
+
 2015-11-03  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * linux-mips-low.c (mips_fill_gregset): Add cast.
This page took 0.031418 seconds and 4 git commands to generate.