add missing PR# to previous entry
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index b15614a39678e10104060a0bde954ba4b5532c37..eb6f2849e2f14fdae4b0d51c564eac71a1db09f5 100644 (file)
@@ -1,3 +1,469 @@
+2013-11-20  Doug Evans  <dje@google.com>
+
+       * linux-low.c (linux_set_resume_request): Fix comment.
+
+2013-11-20  Doug Evans  <dje@google.com>
+
+       * linux-low.c (resume_status_pending_p): Tweak comment.
+
+2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * Makefile.in: Add i386-mpx.c, i386-mpx-linux.c, amd64-mpx.c,
+       amd64-mpx-linux.c, x32-mpx.c and x32-mpx-linux.c generation.
+       * configure.srv (srv_i386_regobj): Add i386-mpx.o.
+       (srv_i386_linux_regobj): Add i386-mpx-linux.o.
+       (srv_amd64_regobj): Add amd64-mpx.o.
+       (srv_amd64_linux_regobj): Add amd64-mpx-linux.o.
+       (srv_i386_32bit_xmlfiles): Add i386/32bit-mpx.xml.
+       (srv_i386_64bit_xmlfiles): Add i386/64bit-mpx.xml.
+       * i387-fp.c (num_pl_bnd_register) Added constant.
+       (num_pl_bnd_cfg_registers) Added constant.
+       (struct i387_xsave) Added reserved area and MPX fields.
+       (i387_cache_to_xsave, i387_xsave_to_cache) Add MPX.
+       * linux-x86-low.c (init_registers_i386_mpx_linux): Declare new
+       function.
+       (tdesc_i386_mpx_linux): Add MPX amd64 target.
+       (init_registers_amd64_mpx_linux): Declare new function.
+       (tdesc_amd64_mpx_linux): Add MPX amd64 target.
+       (x86_64_regmap): Add MPX registers.
+       (x86_linux_read_description): Add MPX case.
+       (initialize_low_arch): Initialize MPX targets.
+
+2013-11-18  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac: Don't check for stdlib.h.
+       * gdbreplay.c: Unconditionally include stdlib.h.
+
+2013-11-18  Tom Tromey  <tromey@redhat.com>
+
+       * config.in: Rebuild.
+       * configure: Rebuild.
+       * configure.ac: Don't use AC_HEADER_DIRENT.
+
+2013-11-18  Tom Tromey  <tromey@redhat.com>
+
+       * server.h: Don't check HAVE_STRING_H.
+       * gdbreplay.c: Don't check HAVE_STRING_H.
+       * configure: Rebuild.
+
+2013-11-18  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against
+       LIBGNU.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * configure, config.in: Rebuild.
+       * configure.ac: Remove unused configury.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * acinclude.m4: Include common.m4, codeset.m4.
+       * configure, config.in: Rebuild.
+       * configure.ac: Use GDB_AC_COMMON.
+
+2013-11-06  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-s390-low.c (HWCAP_S390_TE): New define.
+       (s390_arch_setup): Consider the TE field in the HWCAP for
+       determining 'have_regset_tdb'.
+
+2013-10-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR gdb/16014
+       * tracepoint.c (download_tracepoint_1): Remove unnecessary double
+       call to sizeof.
+
+2013-10-02  Pedro Alves  <palves@redhat.com>
+
+       * server.c (process_serial_event): Don't output "GDBserver
+       exiting" if GDB is connected through stdio.
+       * target.c (mywait): Likewise, be silent if GDB is connected
+       through stdio.
+
+2013-10-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_add_threads_after_attach): New function.
+       (lynx_attach): Remove call to add_thread.  Add call to
+       lynx_add_threads_after_attach instead.
+
+2013-09-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Add sys/syscall.h
+       * config.in, configure: Regenerated.
+
+2013-09-18  Yao Qi  <yao@codesourcery.com>
+
+       PR server/15959
+       * server.c (start_inferior): Clear 'resume_info'.
+
+2013-09-16  Jiong Wang  <jiwang@tilera.com>
+
+       * linux-tile-low.c (tile_regsets): Modify the size field to 64-bit
+       for each register.
+
+2013-09-16  Jiong Wang  <jiwang@tilera.com>
+
+       * configure.srv <tilegx*-*-linux*>: Remove linux-osdata.o from and add
+       linux-tile-low.o to srv_tgtobj.
+
+2013-09-16  Will Newton  <will.newton@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero
+       out regs.
+
+2013-09-06  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (gdb_proc_service_h, regdef_h, regcache_h)
+       (signals_def, signals_h, ptid_h, ax_h, agent_h, linux_btrace_h)
+       (linux_osdata_h, vec_h, gdb_vecs_h, host_defs_h, libiberty_h)
+       (server_h, gdbthread_h, linux_low_h, linux_ptrace_h)
+       (gdb_thread_db_h, linux_procfs_h, lynx_low_h, nto_low_h)
+       (mips_linux_watch_h, i386_low_h, win32_low_h): Delete.
+
+2013-09-06  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove
+       explicit header dependencies and use $COMPILE/$POSTCOMPILE.
+
+2013-09-06  Pedro Alves  <palves@redhat.com>
+
+       * linux-amd64-ipa.c: Include tracepoint.h.
+       * linux-i386-ipa.c: Include tracepoint.h.
+
+2013-09-06  Ricard Wanderlof  <ricardw@axis.com>
+
+       * linux-crisv32-low.c (PTRACE_GET_THREAD_AREA): New macro.
+       (ps_get_thread_area): New function.
+
+2013-09-06  Ricard Wanderlof  <ricardw@axis.com>
+
+       * linux-crisv32-low.c (elf_gregset_t): Delete typedef.
+       (initialize_low_arch): Call init_registers_crisv32 rather than
+       init_register_crisv32.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (handle_vFile, hostio_last_error_from_errno): Move
+       to ...
+       * hostio.h: ... this new file.
+       * hostio.c, server.c, linux-low.c, nto-low.c, spu-low,
+       win32-low.c: Include hostio.h.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (gdb_client_data, handler_func, callback_handler_func)
+       (delete_file_handler, add_file_handler, append_callback_event)
+       (delete_callback_event, start_event_loop, initialize_event_loop):
+       Move to event-loop.h and include it.
+       * event-loop.h: New file.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * dll.c, inferiors.c, remote-utils.c, server.c: Include "dll.h".
+       * server.h (struct dll_info, all_dlls, dlls_changed, clear_dlls)
+       (loaded_dll, unloaded_dll): Move to ...
+       * dll.h: ... this new file.
+       * inferiors.c, remote-utils.c, win32-low.c: Include "dll.h".
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (current_process, get_thread_process, all_processes)
+       (add_inferior_to_list, for_each_inferior, current_inferior)
+       (remove_inferior, add_process, remove_process, find_process_pid)
+       (have_started_inferiors_p, have_attached_inferiors_p)
+       (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id)
+       (clear_inferiors, find_inferior, find_inferior_id)
+       (inferior_target_data, set_inferior_target_data)
+       (inferior_regcache_data, set_inferior_regcache_data): Move to
+       inferiors.h, and include it.
+       * inferiors.h: New file.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (struct emit_ops, current_insn_ptr, emit_error):
+       Move ...
+        * ax.h: ... here.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * ax.c, linux-low.c, linux-x86-low.c, server.c: Include
+       tracepoint.h.
+       * server.h (IPA_BUFSIZ, initialize_tracepoint, tracing)
+       (disconnected_tracing, tracepoint_look_up_symbols, stop_tracing
+       (handle_tracepoint_general_set, handle_tracepoint_query)
+       (tracepoint_finished_step, tracepoint_was_hit)
+       (release_while_stepping_state_list, current_traceframe)
+       (in_readonly_region, traceframe_read_mem)
+       (fetch_traceframe_registers, traceframe_read_sdata)
+       (traceframe_read_info, struct fast_tpoint_collect_status)
+       (fast_tracepoint_collecting, force_unlock_trace_buffer)
+       (handle_tracepoit_bkpts, initialize_low_tracepoint)
+       (supply_fast_tracepoint_registers)
+       (supply_static_tracepoint_registers, set_trampoline_buffer_space)
+       (ipa_tdesc, claim_trampoline_space)
+       (have_fast_tracepoint_trampoline_buffer, gdb_agent_about_to_close)
+       (agent_mem_read, agent_get_trace_state_variable_value)
+       (agent_set_trace_state_variable_value, agent_tsv_read)
+       (agent_mem_read_string, get_raw_reg_func_addr)
+       (get_get_tsv_func_addr, get_set_tsv_func_addr): Move to ...
+       * tracepoint.h: ... this new file.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (perror_with_name, error, fatal, warning, paddress)
+       (pulongest, plongest, phex_nz, pfildes): Move to utils.h, and
+       include it.
+       * utils.h: New file.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (remote_debug, noack_mode, transport_is_reliable)
+       (gdb_connected, STDIO_CONNECTION_NAME, remote_connection_is_stdio)
+       (read_ptid, write_ptid, putpkt, putpkt_binary, putpkt_notif)
+       (getpkt, remote_prepare, remote_open, remote_close, write_ok)
+       (write_enn, initialize_async_io, enable_async_io)
+       (disable_async_io, check_remote_input_interrupt_request)
+       (convert_ascii_to_int, convert_int_to_ascii, new_thread_notify)
+       (dead_thread_notify, prepare_resume_reply)
+       (decode_address_to_semicolon, decode_address, decode_m_packet)
+       (decode_M_packet, decode_X_packet, decode_xfer_write)
+       (decode_search_memory_packet, unhexify, hexify)
+       (remote_escape_output, unpack_varlen_hex, clear_symbol_cache)
+       (look_up_one_symbol, relocate_instruction)
+       (monitor_output): Move to remote-utils.h, and include it.
+       * remote-utils.h: New file.
+
+2013-09-05  Pedro Alves  <palves@redhat.com>
+
+       * server.h (_): Delete.
+
+2013-09-02  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (TRACEFRAME_EOB_MARKER_SIZE): New macro.
+       (init_trace_buffer): Ensure at least TRACEFRAME_EOB_MARKER_SIZE is
+       allocated.
+       (trace_buffer_alloc): Use TRACEFRAME_EOB_MARKER_SIZE.
+
+2013-09-02  Pierre Muller  <muller@sourceware.org>
+
+       * win32-low.c (child_xfer_memory): Check if ReadProcessMemory
+       or WriteProcessMemory complete successfully and handle
+       ERROR_PARTIAL_COPY error.
+
+2013-09-02  Pedro Alves  <palves@redhat.com>
+
+       * server.c (gdb_read_memory): Return -1 on traceframe memory read
+       error instead of EIO.
+
+2013-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR server/15604
+       * linux-low.c: Include filestuff.h.
+       (linux_create_inferior) <pid == 0>: Call close_most_fds.
+       * lynx-low.c: Include filestuff.h.
+       (lynx_create_inferior) <pid == 0>: Call close_most_fds.
+       * server.c: Include filestuff.h.
+       (main): Call notice_open_fds.
+       * spu-low.c: Include filestuff.h.
+       (spu_create_inferior) <pid == 0>: Call close_most_fds.
+
+2013-08-22  Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in: Explain why ../target and ../nat are not
+       listed as include file search paths.
+       (linux-waitpid.o): New object file rule.
+       * configure.srv (srv_native_linux_obj): New variable.
+       Replace all occurrences of linux native object files with
+       $srv_native_linux_obj.
+       * linux-low.c: Include nat/linux-nat.h and nat/linux-waitpid.h.
+       (HAS_NOMMU): Move defining logic to common/linux-ptrace.c.
+       (linux_enable_event_reporting): Remove declaration.
+       (my_waitpid): Moved to common/linux-waitpid.c.
+       (linux_wait_for_event): Pass ptid when calling
+       linux_enable_event_reporting.
+       (linux_supports_tracefork_flag): Remove.
+       (linux_enable_event_reporting): Likewise.
+       (linux_tracefork_grandchild): Remove.
+       (STACK_SIZE): Moved to common/linux-ptrace.c.
+       (linux_tracefork_child): Remove.
+       (linux_test_for_tracefork): Remove.
+       (linux_look_up_symbols): Call linux_supports_traceclone.
+       (initialize_low): Remove call to linux_test_for_tracefork.
+       * linux-low.h (PTRACE_TYPE_ARG3): Move to
+       common/linux-ptrace.h.
+       (PTRACE_TYPE_ARG4): Likewise.
+       Include linux-ptrace.h.
+
+2013-08-21  Pedro Alves  <palves@redhat.com>
+
+       * config.in: Renegerate.
+
+2013-08-19  Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in (INCLUDE_CFLAGS): Include -I$(srcdir)/../.
+       (SFILES): Remove $(srcdir)/common/target-common.c and
+       add $(srcdir)/target/waitstatus.c.
+       (OBS): Remove target-common.o and add waitstatus.o.
+       (server_h): Remove $(srcdir)/../common/target-common.h and
+       add $(srcdir)/../target/resume.h, $(srcdir)/../target/wait.h
+       and $(srcdir)/../target/waitstatus.h.
+       (target-common.o): Remove.
+       (waitstatus.o): New target object file.
+       * target.h: Do not include target-common.h and
+       include target/resume.h, target/wait.h and
+       target/waitstatus.h.
+
+2013-08-13  Luis Machado  <lgustavo@codesourcery.com>
+
+       * linux-arm-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
+       to PTRACE_TYPE_ARG3.
+       * linux-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
+       to PTRACE_TYPE_ARG3 and PTRACE_ARG4_TYPE to
+       PTRACE_TYPE_ARG4.
+       * linux-low.h (PTRACE_ARG3_TYPE): Rename to PTRACE_TYPE_ARG3.
+       (PTRACE_ARG4_TYPE): Rename to PTRACE_TYPE_ARG4.
+
+2013-07-27  Jie Zhang  <jie@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (SFILES): Add common/mips-linux-watch.c.
+       (mips-linux-watch.o): New rule.
+       (mips_linux_watch_h): New variable.
+       * configure.srv <mips*-*-linux*>: Add mips-linux-watch.o to
+       srv_tgtobj.
+       * linux-mips-low.c: Include mips-linux-watch.h.
+       (struct arch_process_info, struct arch_lwp_info): New.
+       (update_watch_registers_callback): New function.
+       (mips_linux_new_process, mips_linux_new_thread) New functions.
+       (mips_linux_prepare_to_resume, mips_insert_point): New
+       functions.
+       (mips_remove_point, mips_stopped_by_watchpoint): New
+       functions.
+       (rsp_bp_type_to_target_hw_bp_type): New function.
+       (mips_stopped_data_address): New function.
+       (the_low_target): Add watchpoint support functions.
+
+2013-07-27  Yao Qi  <yao@codesourcery.com>
+
+       * i386-low.c: Include break-common.h.
+       (enum target_hw_bp_type): Remove.
+
+2013-07-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in (SFILES): /common/target-common.c.
+       (OBS): Add target-common.o.
+       (server_h): Add $(srcdir)/../common/target-common.h.
+       (target-common.o): New target.
+       * server.c (queue_stop_reply_callback): Free
+       status string after use.
+       * target.c (target_waitstatus_to_string): Remove.
+       * target.h: Include target-common.h.
+       (resume_kind): Likewise.
+       (target_waitkind): Likewise.
+       (target_waitstatus): Likewise.
+       (TARGET_WNOHANG): Likewise.
+
+2013-07-04  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (host_alias): Use @host_noncanonical@.
+       (target_alias): Use @target_noncanonical@.
+       * configure.ac: Use ACX_NONCANONICAL_TARGET and
+       ACX_NONCANONICAL_HOST.
+       * configure: Regenerated.
+
+       Revert:
+       2013-06-28  Mircea Gherzan  <mircea.gherzan@intel.com>
+
+       * configure.ac (version_host, version_target): Set and AC_SUBST them.
+       * configure: Rebuild.
+       * Makefile.in (version_host, version_target): Get from configure.
+       (version.c): Use $(version_host) and $(version_target).
+
+2013-07-03  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (config.status): Depend on development.sh.
+       * acinclude.m4: Include libmcheck.m4.
+       * configure: Regenerate.
+
+2013-07-02  Mircea Gherzan  <mircea.gherzan@intel.com>
+
+       * win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI
+       attribute inside the parentheses.
+       (winapi_DebugSetProcessKillOnExit): Ditto.
+       (winapi_DebugBreakProcess): Ditto.
+       (winapi_GenerateConsoleCtrlEvent): Ditto.
+
+2013-07-02  Mircea Gherzan  <mircea.gherzan@intel.com>
+
+       * notif.h (notif_event): Add a dummy member to avoid compiler
+       errors.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * hostio.c (HOSTIO_PATH_MAX): Define.
+       (require_filename, handle_open, handle_unlink, handle_readlink):
+       Use it.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * server.h: Include "pathmax.h".
+       * linux-low.c: Don't include sys/param.h.
+       (linux_pid_exe_is_elf_64_file): Use PATH_MAX instead of
+       MAXPATHLEN.
+       * win32-low.c: Don't include sys/param.h.
+       (win32_create_inferior): Use PATH_MAX instead of MAXPATHLEN.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * event-loop.c: Don't check HAVE_UNISTD_H before including
+       <unistd.h>.
+       * gdbreplay.c: Likewise.
+       * remote-utils.c: Likewise.
+       * server.c: Likewise.
+       * configure.ac: Don't check for unistd.h.
+       * configure: Regenerate.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use version.in, not
+       common/version.in.
+
+2013-06-28  Mircea Gherzan  <mircea.gherzan@intel.com>
+
+       * configure.ac (version_host, version_target): Set and AC_SUBST them.
+       * configure: Rebuild.
+       * Makefile.in (version_host, version_target): Get from configure.
+       (version.c): Use $(version_host) and $(version_target).
+
+2013-06-10  Dmitry Kozlov <ddk@codesourcery.com>
+
+       Fix trace-status to output user name without trailing colon.
+       * tracepoint.c (cmd_qtstatus): Remove unnecessary colon from user name.
+
+2013-06-10  Dmitry Kozlov <ddk@codesourcery.com>
+
+       Fix trace-status to output proper start-time and stop-time.
+       * tracepoint.c (cmd_qtstatus): Modify trace-status output to
+       output start time and stop time in hex as gdb expects.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (build_traceframe_info_xml): Output trace state
+       variables present in the trace buffer.
+
+2013-06-24  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use bfd/version.h, common/version.in,
+       create-version.sh.
+       (version.o): Remove.
+       * gdbreplay.c: Include version.h.
+       (version, host_name): Don't declare.
+       * server.h: Include version.h.
+       (version, host_name): Don't declare.
+
 2013-06-12  Pedro Alves  <palves@redhat.com>
 
        * linux-x86-low.c (linux_is_elf64): Delete global.
        (nios2_regs_info): New function.
        (the_low_target): Adjust.
        (initialize_low_arch): New function.
-        * linux-aarch64-low.c (tdesc_aarch64): Declare.
-        (aarch64_arch_setup): Set the current process'es tdesc.
-        (target_regsets): Rename to ...
-        (aarch64_regsets): ... this.
-        (aarch64_regsets_info, aarch64_usrregs_info, regs_info): New globals.
-        (aarch64_regs_info): New function.
-        (the_low_target): Adjust.
-        (initialize_low_arch): New function.
+       * linux-aarch64-low.c (tdesc_aarch64): Declare.
+       (aarch64_arch_setup): Set the current process'es tdesc.
+       (target_regsets): Rename to ...
+       (aarch64_regsets): ... this.
+       (aarch64_regsets_info, aarch64_usrregs_info, regs_info): New globals.
+       (aarch64_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
        * linux-tile-low.c (tdesc_tilegx, tdesc_tilegx32): Declare
        globals.
        (target_regsets): Rename to ...
 
 2012-07-19  Michael Eager  <eager@eagercon.com>
 
-       * i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate 
+       * i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate
        to hw_execute.
        * linux-x86-low.c (x86_insert_point, x86_remove_point):
        Call i386_low_insert_watchpoint, i386_low_remove_watchpoint to add/del
This page took 0.031915 seconds and 4 git commands to generate.