2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 581a864dcbfa40a6d94e1c1721eb5c35cfa2054b..75599ca9d99aeafc889435b15e78dfbe456fbca1 100644 (file)
@@ -1,3 +1,244 @@
+2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing
+       compiler warning.
+
+2013-03-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]:
+       Remove extraneous NULL element.
+
+2013-03-13  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (traceframe_read_tsv): Look for the last matched
+       'V' block in trace frame.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h (struct target_ops): Add btrace ops.
+       (target_supports_btrace): New macro.
+       (target_enable_btrace): New macro.
+       (target_disable_btrace): New macro.
+       (target_read_btrace): New macro.
+       * gdbthread.h (struct thread_info): Add btrace field.
+       * server.c: Include btrace-common.h.
+       (handle_btrace_general_set): New function.
+       (handle_btrace_enable): New function.
+       (handle_btrace_disable): New function.
+       (handle_general_set): Call handle_btrace_general_set.
+       (handle_qxfer_btrace): New function.
+       (struct qxfer qxfer_packets[]): Add btrace entry.
+       * inferiors.c (remove_thread): Disable btrace.
+       * linux-low: Include linux-btrace.h.
+       (linux_low_enable_btrace): New function.
+       (linux_low_read_btrace): New function.
+       (linux_target_ops): Add btrace ops.
+       * configure.srv (i[34567]86-*-linux*): Add linux-btrace.o.
+       Add srv_linux_btrace=yes.
+       (x86_64-*-linux*): Add linux-btrace.o.
+       Add srv_linux_btrace=yes.
+       * configure.ac: Define HAVE_LINUX_BTRACE.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * server.c (handle_qxfer): Preserve error message if -3 is
+       returned.
+       (qxfer): Document the -3 return value.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * Makefile.in (SFILES): Add $(srcdir)/common/linux-btrace.c.
+       (linux_btrace_h): New variable.
+       (linux-btrace.o): New rule.
+
+2013-03-08  Stan Shebs  <stan@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * tracepoint.c (trace_buffer_size): New global.
+       (DEFAULT_TRACE_BUFFER_SIZE): New define.
+       (init_trace_buffer): Change to one-argument function. Allocate
+       trace buffer memory.
+       (handle_tracepoint_general_set): Call cmd_bigqtbuffer_size to
+       handle QTBuffer:size packet.
+       (cmd_bigqtbuffer_size): New function.
+       (initialize_tracepoint): Call init_trace_buffer with
+       DEFAULT_TRACE_BUFFER_SIZE.
+       * server.c (handle_query): Add QTBuffer:size in the
+       supported packets.
+
+2013-03-07  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cur_action, cur_step_action): Make them unsigned.
+       (cmd_qtfp): Initialize cur_action and cur_step_action 0 instead
+       of -1.
+       (cmd_qtsp): Adjust condition.  Do post increment.
+       Set cur_action and cur_step_action back to 0.
+
+2013-03-07  Jeremy Bennett  <jeremy.bennett@embecosm.com>
+
+       PR server/15236
+       * linux-low.c (linux_write_memory): Return early success if LEN is
+       zero.
+
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+       * configure.srv: Add x86_64-*-cygwin* as target.
+
+2013-02-28  Tom Tromey  <tromey@redhat.com>
+
+       * configure.ac: Invoke AC_SYS_LARGEFILE.
+       * configure, config.in: Rebuild.
+
+2013-02-28  Corinna Vinschen  <vinschen@redhat.com>
+
+       * win32-low.c: Throughout, fix format strings and casts of
+       printf-like functions to avoid type related warnings on all
+       platforms.
+       (get_child_debug_event): Print dwDebugEventCode as hex since
+       that's how it's usually documented.
+
+2013-02-28  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtbuffer): Call phex_nz instead of
+       pulongest.
+
+2013-02-27  Jiong Wang  <jiwang@tilera.com>
+
+       * Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c.
+       (reg-tilegx32.c): New rule.
+       * configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj.
+       * linux-tile-low.c (tile_arch_setup): New function.  Invoke
+       different register info initializer according to elf class.
+       (init_registers_tilgx32): New function.  The tilegx32 register info
+       initializer.
+       (tile_fill_gregset): Use "uint_reg_t" to represent register size.
+       (tile_store_gregset): Likewise.
+
+2013-02-27  Yao Qi  <yao@codesourcery.com>
+
+       * server.c (process_point_options): Print debug message when
+       debug_threads is true.
+
+2013-02-26  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
+
+2013-02-19  Pedro Alves  <palves@redhat.com>
+           Kai Tietz <ktietz@redhat.com>
+
+       PR gdb/15161
+
+       * server.c (handle_query) <CRC check>: Use unpack_varlen_hex
+       instead of strtoul to extract address from packet.
+       (process_serial_event) <'z'>: Likewise.
+
+2013-02-18  Yao Qi  <yao@codesourcery.com>
+
+       * linux-bfin-low.c (the_low_target): Use NULL instead of 0.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       Plug memory leak.
+
+       * tracepoint.c (cmd_qtnotes): Free TRACING_USER_NAME,
+       TRACING_NOTES and TRACING_STOP_NOTE before clobbering.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (cmd_qtdpsrc): Use savestring.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (save_string): Delete.
+       (add_tracepoint_action): Use savestring instead of save_string.
+
+2013-02-12  Pedro Alves  <palves@redhat.com>
+
+       * linux-xtensa-low.c: Ditto.
+       * xtensa-xtregs.c: Ditto.
+
+2013-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * thread-db.c (thread_db_get_tls_address): NULL pointer check
+       thread_db.
+
+2013-02-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * linux-aarch64-low.c (aarch64_arch_setup): Clamp
+       aarch64_num_wp_regs and aarch64_num_bp_regs to
+       AARCH64_HWP_MAX_NUM and AARCH64_HBP_MAX_NUM respectively.
+
+2013-02-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * linux-aarch64-low.c (ps_get_thread_area): Replace
+       PTRACE_GET_THREAD_AREA with PTRACE_GETREGSET.
+
+2013-02-04  Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * Makefile.in (clean): Remove aarch64.c and aarch64-without-fpu.c.
+       (aarch64.c, aarch64-without-fpu.c): New targets.
+       * configure.srv (aarch64*-*-linux*): New.
+       * linux-aarch64-low.c: New file.
+
+2013-02-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * linux-low.c (handle_extended_wait, linux_create_inferior)
+       (linux_attach_lwp_1, linux_kill_one_lwp, linux_attach_one_lwp)
+       (dequeue_one_deferred_signal, linux_resume_one_thread)
+       (fetch_register, linux_write_memory, linux_enable_event_reporting)
+       (linux_tracefork_grandchild, linux_test_for_tracefork)
+       (linux_read_offsets, linux_xfer_siginfo, linux_xfer_siginfo): Add
+       PTRACE_ARG3_TYPE and PTRACE_ARG4_TYPE cast to ptrace arguments
+       where the argument is 0.
+
+2013-01-25  Yao Qi  <yao@codesourcery.com>
+
+       * event-loop.c: Include "queue.h".
+       (gdb_event_p): New typedef.
+       (struct gdb_event) <next_event>: Remove.
+       (event_queue): Change to QUEUE(gdb_event_p).
+       (async_queue_event): Remove.
+       (gdb_event_xfree): New.
+       (initialize_event_loop): New.
+       (process_event): Use API from QUEUE.
+       (wait_for_event): Likewise.
+       * server.c (main): Call initialize_event_loop.
+       * server.h (initialize_event_loop): Declare.
+
+2013-01-18  Yao Qi  <yao@codesourcery.com>
+
+       * ax.h (struct eval_agent_expr_context): New.
+       (gdb_eval_agent_expr): Update declaration.
+       * ax.c (gdb_eval_agent_expr): Remove argument REGCACHE and
+       TFRAME.  Add new argument CTX.
+       * server.h (struct eval_agent_expr_context): Declare.
+       (agent_mem_read, agent_tsv_read): Update declaration.
+       (agent_mem_read_string): Likewise.
+       * tracepoint.c (eval_tracepoint_agent_expr): Remove.
+       (add_traceframe_block): Add new argument TPOINT.
+       Increase TPOINT->traceframe_usage.
+       (do_action_at_tracepoint): Call gdb_eval_agent_expr instead of
+       eval_tracepoint_agent_expr.
+       (condition_true_at_tracepoint): Likewise.
+       (agent_mem_read): Remove argument TFRAME.  Add argument CTX.
+       (agent_mem_read_string, agent_tsv_read): Likewise.
+
+2013-01-16  Yao Qi  <yao@codesourcery.com>
+
+       * linux-low.c (linux_resume_one_lwp): Don't check
+       'lwp->bp_reinsert != 0'.
+
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * lynx-low.c (ptrace_request_to_str): Define a temporary
+       macro and use it to simplify this function's implementation.
+
 2013-01-07  Joel Brobecker  <brobecker@adacore.com>
 
        * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace
 
        PR gdb/7205
 
-        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
 
 2012-05-24  Pedro Alves  <palves@redhat.com>
 
 
 2012-04-19  Pedro Alves  <palves@redhat.com>
 
-        * Makefile.in (GNULIB_BUILDDIR): New.
+       * Makefile.in (GNULIB_BUILDDIR): New.
        (LIBGNU, INCGNU, GNULIB_H): Adjust.
-        (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
-        (all, install-only, uninstall, clean-info, all-lib, clean): No
-        longer pass GNULIB_FLAGS_TO_PASS.  Use subdir_do.
-        (maintainer-clean realclean distclean): Use subdir_do.
-        (subdir_do): New.
-        (gnulib/import/Makefile): Adjust.  Replace gnulib/import with
+       (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
+       (all, install-only, uninstall, clean-info, all-lib, clean): No
+       longer pass GNULIB_FLAGS_TO_PASS.  Use subdir_do.
+       (maintainer-clean realclean distclean): Use subdir_do.
+       (subdir_do): New.
+       (gnulib/import/Makefile): Adjust.  Replace gnulib/import with
        $(GNULIB_BUILDDIR).  Don't pass argument to config.status.
-        * acinclude.m4: Include acx_configure_dir.m4.
-        * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
-        calls.  Call AC_PROG_RANLIB.  Configure gnulib using
-        ACX_CONFIGURE_DIR.
-        (GNULIB): New.
-        (GNULIB_STDINT_H): Adjust.
-        (AC_OUTPUT): Don't output gnulib/Makefile anymore.
-        * gdbreplay.c: Include build-gnulib/config.h.
-        * server.h: Likewise.
-        * aclocal.m4: Regenerate.
-        * config.in: Regenerate.
-        * configure: Regenerate.
+       * acinclude.m4: Include acx_configure_dir.m4.
+       * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
+       calls.  Call AC_PROG_RANLIB.  Configure gnulib using
+       ACX_CONFIGURE_DIR.
+       (GNULIB): New.
+       (GNULIB_STDINT_H): Adjust.
+       (AC_OUTPUT): Don't output gnulib/Makefile anymore.
+       * gdbreplay.c: Include build-gnulib/config.h.
+       * server.h: Likewise.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
 
 2012-04-19  Pedro Alves  <palves@redhat.com>
 
        and move to ax.c.
        (eval_tracepoint_agent_expr): New function.
        (agent_mem_read, agent_mem_read_string, agent_tsv_read): Make
-       non-static. 
+       non-static.
        (current_insn_ptr, emit_error, struct bytecode_address): Move to
        ax.c.
        (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul, emit_lsh,
        (linux_read_loadmap): New function.
        (linux_target_ops): Add linux_read_loadmap.
        * server.c (handle_query): Support qXfer:fdpic:read packet.
-       * win32-low.c (win32_target_ops): Initialize field `read_loadmap' to NULL.
+       * win32-low.c (win32_target_ops): Initialize field `read_loadmap'
+       to NULL.
 
 2011-08-05  Eli Zaretskii  <eliz@gnu.org>
 
 
        * server.c (handle_query): Add EnableDisableTracepoints to the list
        of supported features.
-       * tracepoint.c (clear_installed_tracepoints): Uninstall disabled
+       * tracepoint.c (clear_installed_tracepoints): Uninstall disabled
        tracepoints.
-       (cmd_qtenable_disable): New.
-       (cmd_qtstart): Install tracepoints even if disabled.
-       (handle_tracepoint_general_set): Add call to cmd_qtenable_disable on
-       receiving a QTEnable or QTDisable packet.
-       (gdb_collect): Skip data collection if fast tracepoint is disabled.
-       (ust_marker_to_static_tracepoint): Do not ignore disabled static
-       tracepoints.
-       (gdb_probe): Skip data collection if static tracepoint is disabled.
+       (cmd_qtenable_disable): New.
+       (cmd_qtstart): Install tracepoints even if disabled.
+       (handle_tracepoint_general_set): Add call to cmd_qtenable_disable on
+       receiving a QTEnable or QTDisable packet.
+       (gdb_collect): Skip data collection if fast tracepoint is disabled.
+       (ust_marker_to_static_tracepoint): Do not ignore disabled static
+       tracepoints.
+       (gdb_probe): Skip data collection if static tracepoint is disabled.
 
 2011-05-10  Doug Evans  <dje@google.com>
 
 
 2011-04-26  Yao Qi  <yao@codesourcery.com>
 
-        * linux-low.c: Move common macros to linux-ptrace.h.
-        Include linux-ptrace.h.
+       * linux-low.c: Move common macros to linux-ptrace.h.
+       Include linux-ptrace.h.
        * Makefile.in (linux_ptrace_h): New.
        (linux-low.o): Depends on linux-ptrace.h.
 
        (struct collect_static_trace_data_action): Delete.
        (enum tracepoint_type): New.
        (struct tracepoint) <type>: New field `type'.
-       <actions_str, step_actions, step_actions_str>: Only include in GDBserver.
+       <actions_str, step_actions, step_actions_str>: Only include in
+       GDBserver.
        <orig_size, obj_addr_on_target, adjusted_insn_addr>
        <adjusted_insn_addr_end, jump_pad, jump_pad_end>: New fields.
        (tracepoints): Use IP_AGENT_EXPORT.
        (linux_fetch_registers, linux_store_registers): Ditto.
        * i387-fp.c (i387_cache_to_fsave): Change prototype to take a
        regcache.  Adjust.
-       (i387_fsave_to_cache, i387_cache_to_fxsave, i387_fxsave_to_cache): Ditto.
+       (i387_fsave_to_cache, i387_cache_to_fxsave, i387_fxsave_to_cache):
+       Ditto.
        * i387-fp.h (i387_cache_to_fsave, i387_fsave_to_cache): Change
        prototype to take a regcache.
        (i387_cache_to_fxsave, i387_fxsave_to_cache): Ditto.
        (mips_collect_register_32bit, mips_supply_register_32bit)
        (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset)
        (mips_store_fpregset): Ditto.
-       * linux-ppc-low.c (ppc_supply_ptrace_register, ppc_supply_ptrace_register):
-       Ditto.
+       * linux-ppc-low.c (ppc_supply_ptrace_register)
+       (ppc_supply_ptrace_register): Ditto.
        (parse_spufs_run): Adjust.
        (ppc_get_pc, ppc_set_pc, ppc_fill_gregset, ppc_fill_vsxregset)
        (ppc_store_vsxregset, ppc_fill_vrregset, ppc_store_vrregset)
 
 2008-04-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
-       * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
-       powerpc*-*-linux* case.
+       * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into
+       single powerpc*-*-linux* case.
        (s390-*-linux*, s390x-*-linux*): Merge into single s390*-*-linux* case.
 
 2008-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
This page took 0.029909 seconds and 4 git commands to generate.