daily update
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 460d9a12057d42fba4f8b27a20b097291afd19dc..fc105c474f08dd3665f50deeed2ae9b903c4456a 100644 (file)
@@ -1,3 +1,315 @@
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * ax.c (gdb_parse_agent_expr): Use hex2bin, not
+       convert_ascii_to_int.
+       * regcache.c (registers_to_string): Likewise.
+       * remote-utils.c (decode_M_packet): Likewise.
+       * server.c (process_serial_event): Likewise.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * server.c (handle_query, handle_v_run): Use hex2bin, not
+       unhexify.
+       * tracepoint.c (cmd_qtdpsrc, cmd_qtdv, cmd_qtnotes): Likewise.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * ax.c (gdb_unparse_agent_expr): Use bin2hex, not
+       convert_int_to_ascii.
+       * regcache.c (registers_to_string, collect_register_as_string):
+       Likewise.
+       * remote-utils.c (look_up_one_symbol, relocate_instruction):
+       Likewise.
+       * server.c (process_serial_event): Likewise.
+       * tracepoint.c (cmd_qtstatus, response_source, response_tsv)
+       (cmd_qtbuffer, cstr_to_hexstr): Likewise.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * remote-utils.c (look_up_one_symbol, monitor_output): Use
+       bin2hex, not hexify.
+       * tracepoint.c (cmd_qtstatus): Likewise.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * remote-utils.c (monitor_output): Pass explicit length to
+       hexify.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c: Include rsp-low.h.
+       * server.c: Include rsp-low.h.
+       * remote-utils.h (convert_ascii_to_int, convert_int_to_ascii)
+       (unhexify, hexify, remote_escape_output, unpack_varlen_hex): Don't
+       declare.
+       * remote-utils.c: Include rsp-low.h.
+       (fromhex, hexchars, ishex, unhexify, tohex, hexify)
+       (remote_escape_output, remote_unescape_input, unpack_varlen_hex)
+       (convert_int_to_ascii, convert_ascii_to_int): Move to
+       common/rsp-low.c.
+       * regcache.c: Include rsp-low.h.
+       * ax.c: Include rsp-low.h.
+       * Makefile.in (SFILES): Add common/rsp-low.c.
+       (OBS): Add rsp-low.o.
+       (rsp-low.o): New target.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * utils.h (pulongest, plongest, phex_nz): Don't declare.
+       Include print-utils.h.
+       * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
+       (plongest, thirty_two, phex_nz): Remove.
+       * Makefile.in (SFILES): Add common/print-utils.c.
+       (OBS): Add print-utils.o.
+       (print-utils-ipa.o): New target.
+       (print-utils.o): New target.
+       (IPA_OBJS): Add print-utils-ipa.o.
+
+2014-02-06  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (SFILES): Fix indentation.
+
+2014-02-05  Doug Evans  <dje@google.com>
+
+       * linux-low.c (linux_wait_for_event): Improve comment.
+       (linux_wait_1): Keep current_inferior in sync with event_child.
+
+2014-01-22  Doug Evans  <dje@google.com>
+
+       * gdbthread.h (gdb_id_to_thread): Delete, unused.
+
+2014-01-22  Doug Evans  <dje@google.com>
+
+       * configure.ac (AC_CHECK_FUNCS): Add test for gettimeofday.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * Makefile.in (SFILES): Add debug.c.
+       (OBS): Add debug.o.
+       * debug.c: New file.
+       * debug.h: New file.
+       * linux-aarch64-low.c (*): Update all debugging printfs to use
+       debug_printf instead of fprintf.
+       * linux-arm-low.c (*): Ditto.
+       * linux-cris-low.c (*): Ditto.
+       * linux-crisv32-low.c (*): Ditto.
+       * linux-m32r-low.c (*): Ditto.
+       * linux-sparc-low.c (*): Ditto.
+       * linux-x86.c (*): Ditto.
+       * linux-low.c (*): Ditto.
+       (linux_wait_1): Add calls to debug_enter, debug_exit.
+       (linux_wait): Remove redundant debugging printf.
+       (stop_all_lwps): Add calls to debug_enter, debug_exit.
+       (linux_resume, unstop_all_lwps): Ditto.
+       * mem-break.c (*): Update all debugging printfs to use
+       debug_printf instead of fprintf.
+       * remote-utils.c (*): Ditto.
+       * thread-db.c (*): Ditto.
+       * server.c #include <ctype.h>, "gdb_vecs.h".
+       (debug_threads): Moved to debug.c.
+       (*): Update all debugging printfs to use debug_printf instead of
+       fprintf.
+       (start_inferior): Replace call to fflush with call to debug_flush.
+       (monitor_show_help): Mention set debug-format.
+       (parse_debug_format_options): New function.
+       (handle_monitor_command): Handle "monitor set debug-format".
+       (gdbserver_usage): Mention --debug-format.
+       (main): Parse --debug-format.
+       * server.h (debug_threads): Declaration moved to debug.h.
+       #include "debug.h".
+       * tracepoint.c (trace_debug_1) [!IN_PROCESS_AGENT]: Add version of
+       trace_debug_1 that uses debug_printf.
+       (tracepoint_look_up_symbols): Update all debugging printfs to use
+       debug_printf instead of fprintf.
+
+2014-01-20  Baruch Siach  <baruch@tkos.co.il>
+
+       * linux-xtensa-low.c: Include asm/ptrace.h instead of
+       sys/ptrace.h.
+
+2014-01-17  Pedro Alves  <palves@redhat.com>
+
+       PR build/16445
+       * linux-x86-low.c: Don't include elf/common.h if ELFMAG0 is
+       defined after including gdb_proc_service.h.
+
+2014-01-16  Doug Evans  <dje@google.com>
+
+       * dll.c (UNSPECIFIED_CORE_ADDR): New macro.
+       (match_dll): Use it.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h (target_ops) <read_btrace>: Change parameters and
+       return type to allow error reporting.
+       * server.c (handle_qxfer_btrace): Support delta reads.  Pass
+       trace reading errors on.
+       * linux-low.c (linux_low_read_btrace): Pass trace reading
+       errors on.
+       (linux_low_disable_btrace): New.
+
+2014-01-15  Doug Evans  <dje@google.com>
+
+       * inferiors.c (thread_id_to_gdb_id): Delete.
+       * inferiors.h (thread_id_to_gdb_id): Delete.
+
+2014-01-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from
+       "-I$(srcdir)/../".  Fixes MinGW compilation errors with old GCC
+       versions.
+
+2014-01-08  Pedro Alves  <palves@redhat.com>
+
+       * server.c (handle_status): Don't discard previous queued stop
+       replies or thread's pending status here.
+       (main) <disconnection>: Do it here instead.
+
+2014-01-08  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (struct thread_info) <status_pending_p>: New field.
+       * server.c (visit_actioned_threads, handle_pending_status): New
+       function.
+       (handle_v_cont): Factor out parts to ...
+       (resume): ... this new function.  If in all-stop, and a thread
+       being resumed has a pending status, report it without actually
+       resuming.
+       (myresume): Adjust to use the new 'resume' function.
+       (clear_pending_status_callback, set_pending_status_callback)
+       (find_status_pending_thread_callback): New functions.
+       (handle_status): Handle the case of multiple threads having
+       interesting statuses to report.  Report threads' real last signal
+       instead of always reporting GDB_SIGNAL_TRAP.  Look for a thread
+       with an interesting thread to report the status for, instead of
+       always reporting the status of the first thread.
+
+2014-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbserver.c (gdbserver_version): Set copyright year to 2014.
+       * gdbreplay.c (gdbreplay_version): Likewise.
+
+2013-12-18  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Set
+       iov.iov_len with the real length in use.
+
+2013-12-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (safe-ctype.o, lbasename.o): New rules.
+       * configure.srv: Add safe-ctype.o and lbasename.o to srv_tgtobj
+       for all targets that use win32-low.c.
+       * win32-low.c (win32_ensure_ntdll_loaded): New function.
+       (do_initial_child_stuff): Add call to win32_ensure_ntdll_loaded.
+
+2013-12-13  Pedro Alves  <palves@redhat.com>
+
+       * target.c (mywait): Set OURSTATUS->KIND to TARGET_WAITKIND_STOPPED
+       if equal to TARGET_WAITKIND_LOADED.
+       * win32-low.c (cached_status): New static global.
+       (win32_wait): Add declaration.
+       (do_initial_child_stuff): Flush all initial pending debug events
+       up to the initial breakpoint.
+       (win32_wait): If CACHED_STATUS was set, return that instead
+       of doing a real wait.  Remove the code resuming the execution
+       of the inferior after receiving a TARGET_WAITKIND_LOADED event
+       during the initial phase.  Also remove the code changing
+       OURSTATUS->KIND from TARGET_WAITKIND_LOADED to
+       TARGET_WAITKIND_STOPPED.
+
+2013-12-11  Yao Qi  <yao@codesourcery.com>
+
+       * notif.c (handle_notif_ack): Return 0 if no notification
+       matches.
+
+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
This page took 0.028057 seconds and 4 git commands to generate.