Use std::vector in uploaded_tp
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index ccab17e350bf8f1baf8c4dbf24f956f3759811a0..8e6afef4744acb3aedfef583d191f0e260bdb366 100644 (file)
@@ -1,3 +1,260 @@
+2018-03-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * regcache.c (find_register_by_number): Return a ref.
+       (find_regno): Use references.
+       (register_size): Likewise.
+       (register_data): Likewise.
+       * tdesc.c (target_desc::~target_desc): Remove free calls.
+       (target_desc::operator==): Use std::vector compare.
+       (init_target_desc): Use reference.
+       (tdesc_create_reg): Use reg constructors.
+       * tdesc.h (struct target_desc): Replace pointer with object.
+
+2018-03-23  Alan Hayward  <alan.hayward@arm.com>
+
+       * regcache.c (find_register_by_number): Make static.
+       (find_regno): Use find_register_by_number
+       * regcache.h (struct reg): Remove declaration.
+
+2018-03-23  Alan Hayward  <alan.hayward@arm.com>
+
+       * tdesc.c (target_desc::~target_desc): Move to here.
+       (target_desc::operator==): Likewise.
+       * tdesc.h (target_desc::~target_desc): Move from here.
+       (target_desc::operator==): Likewise.
+
+2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-s390-low.c (s390_get_wordsize): Correct brace style.
+
+2018-03-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-s390-ipa.c (get_ipa_tdesc): Add handling for
+       S390_TDESC_GS.
+       * linux-s390-low.c (s390_get_ipa_tdesc_idx): Likewise.
+       (initialize_low_tracepoint): Call init_registers_s390x_gs_linux64
+       and init_registers_s390_gs_linux64.
+
+2018-03-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-s390-low.c (s390_fill_gs): Remove function.
+       (s390_fill_gsbc): Remove function.
+       (s390_regsets): Set fill functions for the guarded storage regsets
+       to NULL.
+
+2018-03-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-s390-low.c (s390_get_hwcap): Replace tdesc parameter by
+       the word size.  Add comment.
+       (s390_get_wordsize): New function.
+       (s390_arch_setup): No longer select a temporary tdesc to fetch the
+       pswm with it.  Instead, use s390_get_wordsize to determine the
+       word size first and derive the correct tdesc from that directly.
+
+2018-03-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Include silent-rules.mk.
+       (srcdir, abs_top_srcdir, abs_srcdir, VPATH): Move up.
+       (COMPILE): Add ECHO_CXX.
+       (gdbserver$(EXEEXT)): Add SILENCE and ECHO_CXXLD.
+       (gdbreplay$(EXEEXT)): Add SILENCE and ECHO_CXXLD.
+       ($(IPA_LIB)): Add SILENCE and ECHO_CXXLD.
+       (version-generated.c): Add ECHO_GEN.
+       (stamp-xml): Add SILENCE and ECHO_GEN_XML_BUILTIN_GENERATED.
+       (IPAGENT_COMPILE): Add ECHO_CXX.
+       (%-generated.c): Add ECHO_REGDAT.
+
+2018-03-14  Tom Tromey  <tom@tromey.com>
+
+       PR cli/14977:
+       * ax.c (ax_printf): Special case for NULL.
+
+2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-low.c (linux_qxfer_libraries_svr4): Use
+       xml_escape_text_append.
+
+2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-low.c (linux_qxfer_libraries_svr4): Use std::string.
+
+2018-03-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * server.c (handle_general_set): Remove unnecessary xstrdup.
+
+2018-03-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * server.c (parse_debug_format_options): Adjust to
+       delim_string_to_char_ptr_vec changes.
+       * thread-db.c (thread_db_load_search): Adjust to
+       dirnames_to_char_ptr_vec changes.
+
+2018-03-01  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h (target_enable_btrace, target_disable_btrace)
+       (target_read_btrace, target_read_btrace_conf): Turn macro into
+       inline function.  Throw error if target method is not defined.
+       * server.c (handle_qxfer_btrace handle_qxfer_btrace_conf): Remove
+       check for btrace target method.  Be prepared to handle exceptions
+       from btrace target methods.
+
+2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * server.c (captured_main): Change order of error message printed
+       when the current working directory cannot be found.
+
+2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * server.c: Include "filenames.h" and "pathstuff.h".
+       (program_name): Delete variable.
+       (program_path): New anonymous class.
+       (get_exec_wrapper): Use "program_path" instead of
+       "program_name".
+       (handle_v_run): Likewise.
+       (captured_main): Likewise.
+       (process_serial_event): Likewise.
+
+2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * Makefile.in (SFILES): Add "$(srcdir)/common/pathstuff.c".
+       (OBJS): Add "pathstuff.o".
+       * server.c (current_directory): New global variable.
+       (captured_main): Initialize "current_directory".
+
+2018-02-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * tdesc.c: Use common/tdesc.h.
+       * tdesc.h: Likewise.
+
+2018-02-20  Alan Hayward  <alan.hayward@arm.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in: Switch order of make rules.
+
+2018-02-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * Makefile.in: Add common directory in build.
+       * configure.ac: Add common reference.
+       * configure: Regenerate.
+
+2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * linux-low.c (linux_target_ops): Remove linux_supports_btrace.
+       * nto-low.c (nto_target_ops): Remove NULL for supports_btrace.
+       * spu-low.c (spu_target_ops): Likewise.
+       * win32-low.c (win32_target_ops): Likewise.
+       * server.c (supported_btrace_packets): Report packets unconditionally.
+       * target.h (target_ops) <supports_btrace>: Remove.
+       (target_supports_btrace): Remove.
+
+2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * server.c (handle_btrace_enable_bts, handle_btrace_enable_pt)
+       (handle_btrace_disable): Change return type to void.  Use exceptions
+       to report errors.
+       (handle_btrace_general_set): Catch exception and copy message to
+       return message.
+
+2018-02-08  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c (install_software_single_step_breakpoints): Use
+       make_scoped_restore.
+       * inferiors.c (make_cleanup_restore_current_thread): Remove.
+       (do_restore_current_thread_cleanup): Remove.
+       * gdbthread.h (make_cleanup_restore_current_thread): Don't
+       declare.
+
+2018-02-08  Tom Tromey  <tom@tromey.com>
+
+       * mem-break.c (set_raw_breakpoint_at): Use
+       gdb::unique_xmalloc_ptr.
+
+2018-01-30  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/13211
+       * target.c (target_terminal::terminal_state): Rename to ...
+       (target_terminal::m_terminal_state): ... this.
+
+2018-01-19  James Clarke  <jrtc27@jrtc27.com>
+
+       * linux-low.c (handle_extended_wait): Surround call to
+       thread_db_notice_clone with #ifdef USE_THREAD_DB.
+
+2018-01-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-low.c (attach_proc_task_lwp_callback): Adjust to
+       linux_ptrace_attach_fail_reason_string now returning an
+       std::string.
+       (linux_attach): Likewise.
+       * thread-db.c (attach_thread): Likewise.
+
+2018-01-17  Eldar Abusalimov  <eldar.abusalimov@jetbrains.com>
+
+       PR gdb/21559
+       * configure.ac: Include <sys/types.h> prior to <sys/user.h> when
+       checking for fs_base/gs_base fields in struct user_regs_struct.
+       * configure: Regenerate.
+
+2018-01-16  Yao Qi  <yao.qi@linaro.org>
+
+       PR gdb/18749
+       * linux-low.c (fetch_register): Call supply_register instead of
+       error.
+
+2018-01-08  Yao Qi  <yao.qi@linaro.org>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (OBS): Remove selftest.o.
+       * configure.ac: Set srv_selftest_objs if $development is true.
+       (GDBSERVER_DEPFILES): Append $srv_selftest_objs.
+       * configure: Re-generated.
+       * server.c (captured_main): Wrap variable selftest_filter with
+       GDB_SELF_TEST.
+
+2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * server.c (parse_debug_format_options): Return std::string.
+       (handle_monitor_command, captured_main): Adjust.
+
+2018-01-05  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/18653
+       * server.c (captured_main): Pass quiet=false to
+       save_original_signals_state.
+
+2018-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbreplay.c (gdbreplay_version): Update copyright year in
+       version message.
+       * server.c (gdbserver_version): Likewise.
+
+2017-12-08  Tom Tromey  <tom@tromey.com>
+
+       * ax.c (ax_printf): Update.
+
+2017-12-07  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-ipa.c (initialize_low_tracepoint): Call
+       aarch64_linux_read_description.
+       * linux-amd64-ipa.c (idx2mask): New array.
+       (get_ipa_tdesc): Move idx2mask out.
+       (initialize_low_tracepoint): Initialize target descriptions.
+       * linux-i386-ipa.c (idx2mask): New array.
+       (get_ipa_tdesc): Move idx2mask out.
+       (initialize_low_tracepoint): Initialize target descriptions.
+
+2017-12-05  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tdesc.c (struct tdesc_type): Change return type.
+       (tdesc_add_flag): Change parameter type.
+       (tdesc_add_bitfield): Likewise.
+       (tdesc_add_field): Likewise.
+       (tdesc_set_struct_size): Likewise.
+
+2017-12-05  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * regcache.c (registers_to_string): Remove unused variable.
+
 2017-12-02  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * inferiors.c (for_each_inferior_with_data): Remove.
This page took 0.032081 seconds and 4 git commands to generate.