[gdb/build] Add CXX_DIALECT to CXX
[deliverable/binutils-gdb.git] / gdbserver / ChangeLog
index 576c96e93b8bbfcd51c613499847cb03b765f57c..8061f7e83d786ff3b3672eaec87891cb66e6d749 100644 (file)
@@ -1,3 +1,536 @@
+2021-10-04  Tom de Vries  <tdevries@suse.de>
+
+       PR build/28318
+       * configure: Regenerate.
+
+2021-07-05  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * config.in, configure: Re-generate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Delete most m4_include's of ../config files.
+       * configure.ac: Delete m4_include call and call AC_CONFIG_MACRO_DIR.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (GNULIB_BUILDDIR): Rename to ...
+       (GNULIB_PARENT_DIR): ... this.  Remove "gnulib" from value.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Fix some indentation mistakes throughout.
+
+2021-05-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * .dir-locals.el: Set sentence-end-double-space for all modes, and
+       set brace-list-open to 0 for C and C++ modes.
+
+2021-05-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-low.cc (linux_process_target::wait_for_event_filtered):
+       Adjust to status_to_str returning std::string.
+
+2021-05-08  Pedro Alves  <pedro@palves.net>
+
+       * linux-low.cc:
+       (linux_process_target::supports_disable_randomization): Remove
+       reference to HAVE_PERSONALITY.
+       * config.in, configure: Regenerate.
+
+2021-05-08  Pedro Alves  <pedro@palves.net>
+
+       * linux-low.cc: Don't include sys/personality.h or define
+       ADDR_NO_RANDOMIZE.
+
+2021-05-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * server.cc (handle_v_attach)
+       (handle_v_run)
+       (handle_v_kill): Make void.
+
+2021-05-03  Tom Tromey  <tromey@adacore.com>
+
+       PR build/27807:
+       * win32-i386-low.cc (i386_get_thread_context): Call
+       Wow64GetThreadContext, not win32_Wow64GetThreadContext.
+
+2021-04-30  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.cc (do_initial_child_stuff): Update.
+       (windows_nat::handle_load_dll): Rename from win32_add_one_solib.
+       Change parameter type.
+       (win32_add_dll, win32_add_all_dlls)
+       (windows_nat::handle_load_dll): Remove.
+       (get_child_debug_event): Call dll_loaded_event.
+
+2021-04-30  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.cc (GETPROCADDRESS): Remove.
+       (winapi_DebugActiveProcessStop, winapi_DebugSetProcessKillOnExit)
+       (winapi_DebugBreakProcess, winapi_GenerateConsoleCtrlEvent)
+       (winapi_Wow64SetThreadContext, win32_Wow64GetThreadContext)
+       (win32_Wow64SetThreadContext): Remove.
+       (win32_set_thread_context, do_initial_child_stuff)
+       (win32_process_target::attach, win32_process_target::detach):
+       Update.
+       (winapi_EnumProcessModules, winapi_EnumProcessModulesEx)
+       (winapi_GetModuleInformation, winapi_GetModuleInformationA):
+       Remove.
+       (win32_EnumProcessModules, win32_EnumProcessModulesEx)
+       (win32_GetModuleInformation, win32_GetModuleInformationA):
+       Remove.
+       (load_psapi): Remove.
+       (win32_add_dll, win32_process_target::request_interrupt): Update.
+       (initialize_low): Call initialize_loadable.
+
+2021-04-14  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.cc (windows_nat::handle_load_dll): Don't check
+       _WIN32_WCE.
+
+2021-04-13  Pedro Alves  <pedro@palves.net>
+
+       * gdbreplay.c [__MINGW32CE__] (COUNTOF, errno, strerror): Remove.
+
+2021-04-13  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.cc (winapi_CreateToolhelp32Snapshot)
+       (winapi_Module32First, winapi_Module32Next): Remove typedefs.
+
+2021-04-13  Pedro Alves  <pedro@palves.net>
+
+       * Makefile.in (SFILES): Remove hostio-errno.cc.
+       * configure: Regenerate.
+       * configure.ac (GDBSERVER_DEPFILES): No longer add
+       $srv_hostio_err_objs.
+       * configure.srv (srv_hostio_err_objs): Delete.
+       * hostio-errno.cc: Delete.
+       * hostio.cc (hostio_error): Inline hostio_last_error_from_errno
+       here.
+       * hostio.h (hostio_last_error_from_errno): Delete.
+       * target.cc (process_stratum_target::hostio_last_error): Delete.
+       * target.h (class process_stratum_target) <hostio_last_error>:
+       Delete.
+
+2021-04-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * win32-low.cc: Remove all code guarded by _WIN32_WCE.
+       * win32-low.h: Likewise.
+
+2021-04-12  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * target.h (class process_stratum_target) <pid_to_exec_file>:
+       Constify the return type.  Update the definition/references below.
+       * target.cc (process_stratum_target::pid_to_exec_file)
+       * linux-low.h (class linux_process_target) <pid_to_exec_file>
+       * linux-low.cc (linux_process_target::pid_to_exec_file)
+       * netbsd-low.h (class netbsd_process_target) <pid_to_exec_file>
+       * netbsd-low.cc (netbsd_process_target::pid_to_exec_file)
+       * server.cc (handle_qxfer_exec_file)
+
+2021-04-11  Eli Zaretskii  <eliz@gnu.org>
+
+       * win32-low.cc (win32_add_dll): New function, with body almost
+       identical to what win32_add_all_dlls did.  Accepts one argument;
+       if that is non-NULL, returns the file name of the DLL that is
+       loaded at the base address equal to that argument, or NULL if not
+       found.  If the argument is NULL, add all the DLLs loaded by the
+       inferior to the list of solibs and return NULL.
+       (win32_add_all_dlls): Now a thin wrapper around win32_add_dll.
+       (windows_nat::handle_load_dll) [!_WIN32_WCE]: If get_image_name
+       failed to glean the file name of the DLL, call win32_add_dll to
+       try harder using the lpBaseOfDll member of the load-DLL event.
+
+2021-03-30  Luis Machado  <luis.machado@linaro.org>
+
+       * server.cc (handle_general_set, handle_query): Update variable
+       to bool and fix verification logic.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * Makefile.in (SFILES): Add /../gdb/nat/aarch64-mte-linux-ptrace.c.
+       * configure.srv (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o and
+       nat/aarch64-mte-linux-ptrace.o.
+       * linux-aarch64-low.cc: Include nat/aarch64-mte-linux-ptrace.h.
+       (class aarch64_target) <supports_memory_tagging>
+       <fetch_memtags, store_memtags>: New method overrides.
+       (aarch64_target::supports_memory_tagging)
+       (aarch64_target::fetch_memtags)
+       (aarch64_target::store_memtags): New methods.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * linux-aarch64-low.cc (aarch64_fill_mteregset): New function.
+       (aarch64_store_mteregset): New function.
+       (aarch64_regsets): Add MTE register set entry.
+       (aarch64_sve_regsets): Add MTE register set entry.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * linux-aarch64-ipa.cc (get_ipa_tdesc): Update call to
+       aarch64_linux_read_description.
+       (initialize_low_tracepoint): Likewise.
+       * linux-aarch64-low.cc (aarch64_target::low_arch_setup): Take MTE flag
+       into account.
+       * linux-aarch64-tdesc.cc (tdesc_aarch64_list): Add one more dimension
+       for MTE.
+       (aarch64_linux_read_description): Add mte_p parameter and update to
+       use it.
+       * linux-aarch64-tdesc.h (aarch64_linux_read_description): Add mte_p
+       parameter.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * linux-aarch64-low.cc: Include arch/aarch64-mte-linux.h.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * server.cc (test_memory_tagging_functions): New function.
+       (captured_main): Register test_memory_tagging_functions.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * remote-utils.cc (decode_m_packet_params): Renamed from ...
+       (decode_m_packet): ... this, which now calls decode_m_packet_params.
+       Make char * param/return const char *.
+       (decode_M_packet): Use decode_m_packet_params and make char * param
+       const char *.
+       * remote-utils.h (decode_m_packet_params): New prototype.
+       (decode_m_packet): Constify char pointers.
+       (decode_M_packet): Likewise.
+       * server.cc (create_fetch_memtags_reply)
+       (parse_store_memtags_request): New
+       functions.
+       (handle_general_set): Handle the QMemTags packet.
+       (parse_fetch_memtags_request): New function.
+       (handle_query): Handle the qMemTags packet and advertise memory
+       tagging support.
+       (captured_main): Initialize memory tagging flag.
+       * server.h (struct client_state): Initialize memory tagging flag.
+       * target.cc (process_stratum_target::supports_memory_tagging)
+       (process_stratum_target::fetch_memtags)
+       (process_stratum_target::store_memtags): New methods.
+       * target.h: Include gdbsupport/byte-vector.h.
+       (class process_stratum_target) <supports_memory_tagging>
+       <fetch_memtags, store_memtags>: New class virtual methods.
+       (target_supports_memory_tagging): Define.
+
+2021-03-22  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * inferiors.h (struct process_info) <all_dlls, dlls_changed>: New
+       fields.
+       * dll.h (loaded_dll)
+       (unloaded_dll): Declare an overloaded version that takes a proc
+       parameter.
+       * dll.cc (loaded_dll)
+       (unloaded_dll): Implement the overloaded versions.
+       (clear_dlls): Clear all process' dll lists.
+       (all_dlls, dlls_changed): Remove the global variables.
+       * remote-utils.cc (prepare_resume_reply): Update to consider a dll
+       list per proc.
+       * server.cc (handle_qxfer_libraries): Ditto.
+       (handle_v_attach): Ditto.
+       (captured_main): Ditto.
+
+2021-02-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-low.cc (linux_process_target::filter_event): Return
+       void.
+       * linux-low.h (class linux_process_target) <filter_event>:
+       Return void.
+
+2021-02-12  Tom Tromey  <tromey@adacore.com>
+
+       * gdbreplay.cc (remote_desc): Remove.
+       (remote_desc_in, remote_desc_out): New globals.
+       (remote_close): Update.
+       (remote_open): Handle "-".
+       (remote_open): Update.
+       (logchar): Log to stderr.
+       (expect, play): Update.
+
+2021-02-12  Tom Tromey  <tromey@adacore.com>
+
+       * gdbreplay.cc (remote_open): Constify.
+
+2021-02-05  Paul E. Murphy  <murphyp@linux.ibm.com>
+
+       * Makefile.in (UNDO_GNULIB_CFLAGS): Disable
+       gnulib free replacement too.
+       * common-defs.h [USE_WIN32API](read, write): Undefine
+       gnulib versions before defining these macros.
+
+2021-02-03  Pedro Alves  <pedro@palves.net>
+
+       * linux-low.cc (linux_process_target::complete_ongoing_step_over):
+       Discard step SIGTRAP, unless GDB wanted the thread to step.
+
+2021-02-03  Pedro Alves  <pedro@palves.net>
+
+       * server.cc (discard_queued_stop_replies): Don't ever discard the
+       notification at the head of the list.
+
+2021-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ax.cc (bytecode_address_table): Make static.
+       * debug.cc (debug_file): Make static.
+       * linux-low.cc (stopping_threads): Make static.
+       (step_over_bkpt): Make static.
+       * linux-x86-low.cc (amd64_emit_ops, i386_emit_ops): Make static.
+       * tracepoint.cc (stop_tracing_bkpt, flush_trace_buffer_bkpt,
+       alloced_trace_state_variables, trace_buffer_ctrl,
+       tracing_start_time, tracing_stop_time, tracing_user_name,
+       tracing_notes, tracing_stop_note): Make static.
+
+2021-01-20  Tom de Vries  <tdevries@suse.de>
+
+       * linux-x86-low.cc (collect_register_i386): New function.
+       (x86_fill_gregset):  Remove memset.  Use collect_register_i386.
+
+2021-01-07  Tom de Vries  <tdevries@suse.de>
+
+       * Makefile.in (LIBIBERTY_NORMAL, LIBIBERTY_NOASAN, LIBIBERTY_PIC):
+       (LIBIBERTY_FOR_SHLIB): New var.
+       (LIBIBERTY): Set using $(LIBIBERTY_NORMAL).
+       (IPA_LIB): Use LIBIBERTY_FOR_SHLIB instead of LIBIBERTY in target rule.
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * debug.cc (debug_print_depth): New.
+
+2021-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * server.cc (gdbserver_version): Update copyright year.
+       * gdbreplay.cc (gdbreplay_version): Likewise.
+
+2020-12-16  Luis Machado  <luis.machado@linaro.org>
+
+       * linux-aarch64-low.cc (address_significant): New function.
+       (aarch64_target::low_stopped_data_address): Handle the TBI.
+
+2020-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in (IPA_LIB): Include libiberty library.
+
+2020-11-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * server.cc (gdbserver_usage): Add missing option to usage text.
+       (gdbserver_show_disableable): Likewise.
+
+2020-11-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       * ax.cc: Fix indentation.
+       * dll.cc: Fix indentation.
+       * inferiors.h: Fix indentation.
+       * linux-low.cc: Fix indentation.
+       * linux-nios2-low.cc: Fix indentation.
+       * linux-ppc-ipa.cc: Fix indentation.
+       * linux-ppc-low.cc: Fix indentation.
+       * linux-x86-low.cc: Fix indentation.
+       * linux-xtensa-low.cc: Fix indentation.
+       * regcache.cc: Fix indentation.
+       * server.cc: Fix indentation.
+       * tracepoint.cc: Fix indentation.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * acinclude.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
+       AC_LANG_PROGRAM.
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Modernize.
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
+       AC_CANONICAL_SYSTEM.
+       * configure: Re-generate.
+
+2020-10-26  Pedro Alves  <pedro@palves.net>
+
+       * netbsd-low.cc (netbsd_waitpid, netbsd_process_target::kill)
+       (netbsd_qxfer_libraries_svr4): Use gdb::handle_eintr without
+       explicit type.
+
+2020-10-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * acinclude.m4: Update ptrace.m4 path.
+
+2020-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * config.in: Re-generate.
+       * configure: Re-generate.
+
+2020-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * server.cc (handle_general_set): Don't use sprintf with
+       argument overlapping buffer.
+
+2020-10-20  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/26742:
+       * inferiors.cc (remove_thread): Clear current_thread before
+       freeing the thread.
+
+2020-10-13  Kamil Rytarowski  <n54@gmx.com>x
+
+       * netbsd-low.cc (netbsd_tdesc): Remove.
+       (netbsd_add_process): Likewise.
+       (netbsd_process_target::create_inferior): Update.
+
+2020-10-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * linux-arc-low.cc (arc_linux_read_description): Release the
+       unique_ptr returned from arc_create_target_description.
+
+2020-10-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in: Include Makefile.gnulib.inc.  Don't define LIBGNU
+       or INCGNU.  Make use of LIBGNU_EXTRA_LIBS when linking.
+
+2020-10-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * linux-low.cc (linux_process_target::handle_extended_wait):
+       Release the unique_ptr returned from allocate_target_description.
+       * linux-riscv-low.cc (riscv_target::low_arch_setup): Likewise.
+       * linux-x86-low.cc (tdesc_amd64_linux_no_xml): Change type.
+       (tdesc_i386_linux_no_xml): Change type.
+       (x86_linux_read_description): Borrow pointer from unique_ptr
+       object.
+       (x86_target::get_ipa_tdesc_idx): Likewise.
+       (initialize_low_arch): Likewise.
+       * tdesc.cc (allocate_target_description): Update return type.
+
+2020-10-07  Tom Tromey  <tromey@adacore.com>
+
+       * server.cc (handle_search_memory): Remove dead code.
+
+2020-10-07  Tom Tromey  <tromey@adacore.com>
+
+       * server.cc (handle_search_memory_1): Remove.
+       (handle_search_memory): Use simple_search_memory.
+
+2020-10-07  Simon Marchi  <simon.marchi@efficios.com>
+
+       * Makefile.in (COMPILE): Add CXXFLAGS.
+       (INTERNAL_CFLAGS_BASE): Remove CXXFLAGS.
+       (gdbserver$(EXEEXT)): Add CXXFLAGS.
+       (gdbreplay$(EXEEXT)): Add CXXFLAGS.
+       ($(IPA_LIB)): Add CXXFLAGS.
+       (IPAGENT_COMPILE): Add CXXFLAGS.
+
+2020-10-07  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * configure.srv: Support ARC architecture.
+       * Makefile.in: Add linux-arc-low.cc and arch/arc.o.
+       * linux-arc-low.cc: New file.
+
+2020-10-07  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-low.cc (get_dynamic, get_r_debug, read_one_ptr)
+       (netbsd_qxfer_libraries_svr4): Remove "target" argument and update.
+       (netbsd_process_target::qxfer_libraries_svr4): Update.
+
+2020-10-07  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-low.cc: Fix whitespace formatting.
+       * netbsd-amd64-low.cc: Likewise.
+
+2020-10-07  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-low.cc (netbsd_process_target::read_memory)
+       (netbsd_process_target::write_memory): Update.
+
+2020-10-07  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-aarch64-low.cc: Add.
+       * Makefile.in (SFILES): Register "netbsd-aarch64-low.c".
+       * configure.srv: Add aarch64*-*-netbsd*.
+
+2020-10-06  Shahab Vahedi  <shahab@synopsys.com>
+
+       * regcache.cc (register_data): Remove unused "fetch" argument.
+
+2020-10-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * server.cc (handle_monitor_command): Handle "set
+       debug-event-loop".
+       (captured_main): Handle "--debug-event-loop".
+       (monitor_show_help): Mention new setting.
+       (gdbserver_usage): Mention new flag.
+
+2020-10-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-low.cc (linux_process_target::async): Pass name to
+       add_file_handler.
+       * remote-utils.cc (handle_accept_event): Likewise.
+       (remote_open): Likewise.
+
+2020-10-01  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-i386-low.cc: Add.
+       * Makefile.in (SFILES): Register "netbsd-i386-low.c".
+       * configure.srv: Add i[34567]86-*-netbsd*.
+
+2020-10-01  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-amd64-low.cc (netbsd_x86_64_arch_setup): Remove.
+       (netbsd_target_regsets): Now const.
+       (the_low_target): Remove.
+       (class netbsd_amd64_target, the_netbsd_amd64_target)
+       (the_netbsd_target): Add.
+       * netbsd-low.cc (netbsd_process_target::post_create_inferior): Call
+       low_arch_setup ().
+       (netbsd_process_target::fetch_registers)
+       (netbsd_process_target::store_registers, initialize_low): Update.
+       (the_netbsd_target): Remove.
+       * netbsd-low.h (netbsd_target_regsets, netbsd_target_ops)
+       (the_low_target, netbsd_tdesc): Remove.
+       (netbsd_process_target::get_regs_info)
+       (netbsd_process_target::low_arch_setup): Add.
+
+2020-09-23  Hannes Domani  <ssbssa@yahoo.de>
+
+       * win32-low.cc: Remove local wow64_process variable.
+       * win32-low.h: Remove local wow64_process variable.
+
+2020-09-18  Tom Tromey  <tromey@adacore.com>
+
+       * netbsd-low.h (class netbsd_process_target) <wait>: Update.
+       * netbsd-low.cc (netbsd_waitpid, netbsd_wait)
+       (netbsd_process_target::wait): Change type of target_options.
+       * win32-low.h (class win32_process_target) <wait>: Update.
+       * win32-low.cc (win32_process_target::wait): Update.
+       * target.h (class process_stratum_target) <wait>: Update.
+       (mywait): Update.
+       * target.cc (mywait, target_wait): Change type of "options".
+       * linux-low.h (class linux_process_target) <wait, wait_1>:
+       Update.
+       * linux-low.cc (linux_process_target::wait)
+       (linux_process_target::wait_1): Update.
+
 2020-09-15  Tom Tromey  <tromey@adacore.com>
 
        * linux-x86-low.cc (xmltarget_i386_linux_no_xml)
        * gdbreplay.c: Fix common/ includes.
        * fork-child.c: Fix common/ includes.
        * event-loop.c: Fix common/ includes.
-       * ax.c: 
-       (enum gdb_agent_op): Fix common/ includes.
+       * ax.c (enum gdb_agent_op): Fix common/ includes.
 
 2019-01-21  Tom Tromey  <tom@tromey.com>
 
This page took 0.03689 seconds and 4 git commands to generate.