Add parameter to allow enabling/disabling selftests via configure
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 7aa59467ac3ffbe386b3ec4401cc6fd929a78a03..27f7ab55dbcdac08d5e54c3d56a426c13a68e8ce 100644 (file)
@@ -1,3 +1,383 @@
+2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Simon Marchi <simark@simark.ca>
+
+       * acinclude.m4: Include "../selftest.m4".
+       * configure: Regenerate.
+       * configure.ac: Use "GDB_AC_SELFTEST".
+       * configure.srv: Use "$enable_unittests" instead of
+       "$development" when checking whether unit tests have been
+       enabled.
+       * server.c (captured_main): Update message informing that
+       selftests have been disabled.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * server.c (handle_status): Rename inner "thread".
+       (process_serial_event): Declare "res" in 'm' case.
+       * linux-low.c (last_thread_of_process_p, find_lwp_pid)
+       (iterate_over_lwps): Rename inner "thread".
+       (linux_qxfer_libraries_svr4): Rename inner "len".
+       * gdbthread.h (find_thread_in_random): Rename inner "thread".
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * gdb_proc_service.h: Moved common code to
+       common/gdb_proc_service.h.
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * gdb_proc_service.h: Synchronize comments and whitespace with
+       GDB's version of this file.
+
+2018-09-25  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac (WARN_CFLAGS): Don't remove -Wmissing-prototypes.
+
+2018-09-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in (gdbserver$(EXEEXT)): Sort OBS.
+       (gdbreplay$(EXEEXT)): Sort GDBREPLAY_OBS.
+       ($(IPA_LIB)): Sort IPA_OBJS.
+
+2018-09-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Remove references to $(ADD_DEPS).
+
+2018-09-16  Tom Tromey  <tom@tromey.com>
+
+       * remote-utils.c (remote_open): Use GNU style for metasyntactic
+       variables.
+       * gdbreplay.c (gdbreplay_usage): Use GNU style for metasyntactic
+       variables.
+
+2018-09-05  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2018-08-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR build/23399
+       * tracepoint.c (IPA_SYM_STRUCT_NAME): Define.
+
+2018-08-27  Tom Tromey  <tom@tromey.com>
+
+       PR build/23087:
+       * configure: Rebuild.
+
+2018-08-27  Tom Tromey  <tom@tromey.com>
+
+       * linux-s390-low.c (s390_emit_ext, s390_emit_litpool)
+       (s390_emit_const, s390_emit_reg, s390_emit_zero_ext)
+       (s390_emit_stack_adjust, s390_emit_set_r2, s390x_emit_ext)
+       (s390x_emit_const, s390x_emit_reg, s390x_emit_zero_ext)
+       (s390x_emit_stack_adjust): Add casts to unsigned char.
+
+2018-08-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/23374
+       PR gdb/23375
+       * server.h (struct client_state) <disable_randomization>:
+       Initialize to 1.
+
+2018-07-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-mips-low.c (mips_collect_ptrace_register): Remove unused
+       variable.
+       (mips_supply_ptrace_register): Likewise.
+
+2018-07-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2018-07-22  Tom Tromey  <tom@tromey.com>
+
+       * win32-low.c (win32_create_inferior): Remove unused variables.
+       * gdbreplay.c (remote_open): Remove unused variable.
+       * remote-utils.c (remote_prepare): Remove unused variable.
+       * x86-tdesc.h (X86_TDESC_H): Define.
+       (amd64_expedite_regs): Define conditionally.
+       (i386_expedite_regs): Mark ATTRIBUTE_UNUSED.
+       * linux-x86-tdesc.c (i386_tdescs): Move inside #if.
+       * remote-utils.c (readchar): Remove unused variable.
+
+2018-07-13  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_kill): Change parameter to process_info
+       pointer instead of pid.  Adjust.
+       * lynx-low.c (lynx_kill): Likewise.
+       * nto-low.c (nto_kill): Likewise.
+       * spu-low.c (spu_kill): Likewise.
+       * win32-low.c (win32_kill): Likewise.
+       * server.c (handle_v_kill, kill_inferior_callback)
+       (detach_or_kill_for_exit): Adjust.
+       * target.c (kill_inferior): Change parameter to process_info
+       pointer instead of pid.  Adjust.
+       * target.h (struct target_ops) <kill>: Change parameter to
+       process_info pointer instead of pid.  Adjust all implementations
+       and callers.
+       (kill_inferior): Likewise.
+
+2018-07-13  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_detach, linux_join): Change parameter to
+       process_info pointer instead of pid.  Adjust.
+       * lynx-low.c (lynx_detach, lynx_join): Likewise.
+       * nto-low.c (nto_detach): Likewise.
+       * spu-low.c (spu_detach, spu_join): Likewise.
+       * win32-low.c (win32_detach, win32_join): Likewise.
+       * server.c (handle_detach, detach_or_kill_for_exit): Adjust.
+       * target.h (struct target_ops) <detach, join>: Change parameter to
+       process_info pointer instead of pid.  Adjust all implementations
+       and callers.
+       (detach_inferior, join_inferior): Rename 'pid' parameter to
+       'proc'.
+
+2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Paul Fertser  <fercerpav@gmail.com>
+           Tsutomu Seki  <sekiriki@gmail.com>
+
+       * Makefile.in (SFILES): Add '$(srcdir)/common/netstuff.c'.
+       (OBS): Add 'common/netstuff.o'.
+       (GDBREPLAY_OBS): Likewise.
+       * gdbreplay.c: Include 'wspiapi.h' and 'netstuff.h'.
+       (remote_open): Implement support for IPv6
+       connections.
+       * remote-utils.c: Include 'netstuff.h', 'filestuff.h'
+       and 'wspiapi.h'.
+       (handle_accept_event): Accept connections from IPv6 sources.
+       (remote_prepare): Handle IPv6-style hostnames; implement
+       support for IPv6 connections.
+       (remote_open): Implement support for printing connections from
+       IPv6 sources.
+
+2018-07-11  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/23377
+       * mem-break.c (any_persistent_commands): Add process_info
+       parameter and use it instead of relying on the current process.
+       Change return type to bool.
+       * mem-break.h (any_persistent_commands): Add process_info
+       parameter and change return type to bool.
+       * server.c (handle_detach): Remove require_running_or_return call.
+       Look up the process_info for the process we're about to detach.
+       If not found, return back error to GDB.  Adjust
+       any_persistent_commands call to pass down a process pointer.
+
+2018-07-11  Pedro Alves  <palves@redhat.com>
+
+       * i387-fp.c (i387_cache_to_fsave, cache_to_fxsave)
+       (i387_cache_to_xsave): Use regcache_raw_get_unsigned_by_name
+       instead of collect_register_by_name.
+       * regcache.c (regcache_raw_get_unsigned_by_name): New.
+       * regcache.h (regcache_raw_get_unsigned_by_name): New.
+
+2018-07-04  Vyacheslav Barinov  <v.barinov@samsung.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (initialize_low): Call linux_proc_init_warnings.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c: Update.
+       * lynx-low.c: Update.
+       * mem-break.c: Update.
+       * nto-low.c: Update.
+       * remote-utils.c: Update.
+       * server.c: Update.
+       * spu-low.c: Update.
+       * target.c: Update.
+       * win32-low.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * server.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * target.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c: Update.
+       * linux-mips-low.c: Update.
+       * lynx-low.c: Update.
+       * nto-low.c: Update.
+       * remote-utils.c: Update.
+       * server.c: Update.
+       * spu-low.c: Update.
+       * target.c: Update.
+       * thread-db.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c: Update.
+       * linux-mips-low.c: Update.
+       * lynx-low.c: Update.
+       * mem-break.c: Update.
+       * nto-low.c: Update.
+       * remote-utils.c: Update.
+       * server.c: Update.
+       * spu-low.c: Update.
+       * target.c: Update.
+       * tracepoint.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c: Update.
+       * linux-ppc-low.c: Update.
+       * linux-x86-low.c: Update.
+       * proc-service.c: Update.
+       * server.c: Update.
+       * spu-low.c: Update.
+       * thread-db.c: Update.
+       * win32-low.c: Update.
+
+2018-07-03  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c: Update.
+       * lynx-low.c: Update.
+       * nto-low.c: Update.
+       * remote-utils.c: Update.
+       * spu-low.c: Update.
+       * thread-db.c: Update.
+       * win32-low.c: Update.
+
+2018-06-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-x86-tdesc.c (amd64_linux_read_description): Add missing
+       parameter in call to 'amd64_create_target_description'.
+
+2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * x86-tdesc.h: Remove executable permission flag.
+
+2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * configure.ac: Remove AC_PREREQ, add missing quoting.
+       * configure: Re-generate.
+       * config.in: Re-generate.
+       * aclocal.m4: Re-generate.
+
+2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tracepoint.h (current_traceframe): Remove declaration.
+
+2018-06-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-aarch64-low.c (is_sve_tdesc): New function.
+       (aarch64_sve_regs_copy_to_regcache): Likewise.
+       (aarch64_sve_regs_copy_from_regcache): Likewise.
+       (aarch64_regs_info): Add SVE checks.
+       (initialize_low_arch): Initialize SVE.
+
+2018-06-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * Makefile.in: Add aarch64-sve-linux-ptrace.c.
+
+2018-06-11  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-aarch64-ipa.c (get_ipa_tdesc): Add null VQ param.
+       (initialize_low_tracepoint): Likewise
+       * linux-aarch64-low.c (aarch64_arch_setup): Get VQ.
+       * linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Add null VQ
+       param.
+       * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add VQ
+       checks.
+       * linux-aarch64-tdesc.h (aarch64_linux_read_description): Add VQ.
+
+2018-06-11  Alan Hayward  <alan.hayward@arm.com>
+
+       * server.h (PBUFSIZ): Increase size
+
+2018-06-11  Alan Hayward  <alan.hayward@arm.com>
+
+       * regcache.c (regcache::raw_compare): New function.
+       * regcache.h (regcache::raw_compare): New declaration.
+
+2018-06-11  Alan Hayward  <alan.hayward@arm.com>
+
+       * regcache.c (new_register_cache): Use new.
+       (free_register_cache): Use delete.
+       (register_data): Use const.
+       (supply_register): Move body inside regcache.
+       (regcache::raw_supply): New override function.
+       (collect_register): Move body inside regcache.
+       (regcache::raw_collect): New override function.
+       (regcache::get_register_status): New override function.
+       * regcache.h (struct regcache): Inherit from reg_buffer_common.
+
+2018-06-09  Tom Tromey  <tom@tromey.com>
+
+       * event-loop.c (gdb_event, gdb_event_p): Remove typedefs.  Don't
+       declare queue.
+       (event_queue): Use std::queue.
+       (gdb_event_xfree): Remove.
+       (initialize_event_loop, process_event, wait_for_event): Update.
+
+2018-06-08  Stan Cox  <scox@redhat.com>
+
+       * win32-low.c (win32_create_inferior):  last_ptid and last_status
+       moved to client_state.
+
+2018-06-08  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (GDBREPLAY_OBS): Add common/cleanups.o,
+       common/common-exceptions.o, common/common-utils.o,
+       common/errors.o, common/print-utils.o and utils.o.
+       * gdbreplay.c: Include "common-defs.h" instead of the two
+       'config.h's here.  Don't include stdio.h, errno.h, stdlib.h,
+       string.h or alloca.h.
+       (perror_with_name): Delete.
+       (remote_open): Use xstrdup instead of strdup.
+       (main): Rename to ...
+       (captured_main): ... this.
+       (main): New.
+
+2018-06-08  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c (linux_low_read_btrace): Update.
+
+2018-06-04  Stan Cox  <scox@redhat.com>
+
+       * server.h (struct client_state): New.
+       * server.c (cont_thread, general_thread, multi_process)
+       (report_fork_events, report_vfork_events, report_exec_events)
+       (report_thread_events, swbreak_feature, hwbreak_feature)
+       (vCont_supported, disable_randomization, pass_signals)
+       (program_signals, program_signals_p, last_status, last_ptid, own_buf):
+       Moved to client_state.
+       * remote-utils.c (remote_debug, noack_mode)
+       (transport_is_reliable): Moved to client_state.
+       * tracepoint.c (current_traceframe): Moved to client_state.
+
+       Update all callers.
+       * server.c, remote-utils.c, tracepoint.c, fork-child.c,
+       linux-low.c, remote-utils.h, target.c: Use client_state.
+
+2018-05-31  Alan Hayward  <alan.hayward@arm.com>
+
+       * configure.srv: Add new c/h file.
+
+2018-05-31  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add
+       null VQ.
+
+2018-05-25  Maciej W. Rozycki  <macro@mips.com>
+
+       * gdb.arch/mips-fpregset-core.exp: New test.
+       * gdb.arch/mips-fpregset-core.c: New test source.
+
 2018-05-23  Erik Kurzinger  <ekurzinger@nvidia.com>
 
        PR server/23198
This page took 0.110498 seconds and 4 git commands to generate.