X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgdbserver%2FChangeLog;h=3b2239fc866ac550ce54240d7d5dfd8a5b82671c;hb=8e1d55a3dfe0d11fcc0921d97a80dc280a1af06b;hp=ae6f47d52b107660645d1d3c4f7c9166c93c10c5;hpb=55a8c0761da53ea56ce6e196110aa8e83dba248f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ae6f47d52b..3b2239fc86 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,654 @@ +2013-02-14 Pedro Alves + + Plug memory leak. + + * tracepoint.c (cmd_qtnotes): Free TRACING_USER_NAME, + TRACING_NOTES and TRACING_STOP_NOTE before clobbering. + +2013-02-14 Pedro Alves + + * tracepoint.c (cmd_qtdpsrc): Use savestring. + +2013-02-14 Pedro Alves + + * tracepoint.c (save_string): Delete. + (add_tracepoint_action): Use savestring instead of save_string. + +2013-02-12 Pedro Alves + + * linux-xtensa-low.c: Ditto. + * xtensa-xtregs.c: Ditto. + +2013-02-12 Sanimir Agovic + + * thread-db.c (thread_db_get_tls_address): NULL pointer check + thread_db. + +2013-02-07 Marcus Shawcroft + + * 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 + + * linux-aarch64-low.c (ps_get_thread_area): Replace + PTRACE_GET_THREAD_AREA with PTRACE_GETREGSET. + +2013-02-04 Jim MacArthur + Marcus Shawcroft + Nigel Stephens + Yufeng Zhang + + * 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 + + * 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 + + * event-loop.c: Include "queue.h". + (gdb_event_p): New typedef. + (struct gdb_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 + + * 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 + + * linux-low.c (linux_resume_one_lwp): Don't check + 'lwp->bp_reinsert != 0'. + +2013-01-07 Joel Brobecker + Pedro Alves + + * 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 + + * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace + sets errno. + +2013-01-07 Joel Brobecker + + * configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles. + +2013-01-07 Joel Brobecker + + * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles. + +2013-01-07 Joel Brobecker + + * lynx-low.c (lynx_resume): Use the resume_info parameter + to determine the ptid for the lynx_ptrace call, unless + it is equal to minus_one_ptid, in which case we use the + ptid of the current_inferior. + (lynx_wait_1): After having received a thread create/exit + event, resume the inferior's execution using the signaling + thread's ptid, rather than the old ptid. + +2013-01-07 Joel Brobecker + + * lynx-low.c (lynx_resume): Delete variable ret. + +2013-01-01 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Update copyright year. + * server.c (gdbserver_version): Likewise. + +2012-12-17 Joel Brobecker + + * lynx-low.c (lynx_wait_1): Add debug trace before adding + new thread. + +2012-12-17 Joel Brobecker + + * lynx-low.c (ptrace_request_to_str): Add handling for + PTRACE_GETTRACESIG. + +2012-12-17 Joel Brobecker + + * lynx-low.c (lynx_attach): Delete variable new_process. + +2012-12-17 Joel Brobecker + + * lynx-low.c (lynx_create_inferior): Delete variable + new_process. + +2012-12-17 Joel Brobecker + + * lynx-low.c (ptrace_request_to_str): Do not handle + PTRACE_GETTHREADLIST if this macro does not exist. + +2012-12-15 Yao Qi + + * Makefile.in (OBS): Add notif.o. + * notif.c, notif.h: New. + * server.c: Include "notif.h". + (struct vstop_notif) : Remove. + : New field. + (queue_stop_reply): Update. + (push_event, send_next_stop_reply): Remove. + (discard_queued_stop_replies): Update. + (notif_stop): New variable. + (handle_v_stopped): Remove. + (handle_v_requests): Don't call handle_v_stopped. Call + handle_ack_notif instead. + (queue_stop_reply_callback): Call notif_event_enque instead + of queue_stop_reply. + (handle_status): Don't call send_next_stop_reply, call + notif_write_event instead. + (kill_inferior_callback): Likewise. + (detach_or_kill_inferior_callback): Likewise. + (main): Call initialize_notif. + (process_serial_event): Call QUEUE_is_empty. + (handle_target_event): Call notif_push instead of push event. + * server.h (push_event): Remove declaration. + +2012-12-10 Tom Tromey + + * Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.pre) + (COMPILE.post, COMPILE, POSTCOMPILE, IPAGENT_COMPILE): New + macros. + (.c.o): Rewrite. + (ax-ipa.o, tracepoint-ipa.o, utils-ipa.o, format-ipa.o) + (common-utils-ipa.o, remote-utils-ipa.o, regcache-ipa.o) + (i386-linux-ipa.o, linux-i386-ipa.o, linux-amd64-ipa.o) + (amd64-linux-ipa.o, ax.o): Rewrite. + (event-loop.o, hostio.o, hostio-errno.o, inferiors.o, mem-break.o) + (proc-service.o, regcache.o, remote-utils.o, server.o, target.o) + (thread-db.o, tracepoint.o, utils.o, gdbreplay.o, dll.o): Remove. + (signals.o, linux-procfs.o, linux-ptrace.o, common-utils.o, vec.o) + (gdb_vecs.o, xml-utils.o, linux-osdata.o, ptid.o, buffer.o) + (format.o, agent.o, vasprintf.o, vsnprintf.o): Rewrite. + (i386-low.o, i387-fp.o, linux-low.o, linux-arm-low.o) + (linux-bfin-low.o, linux-cris-low.o, linux-crisv32-low.o) + (linux-ia64-low.o, linux-m32r-low.o, linux-mips-low.o) + (linux-ppc-low.o, linux-s390-low.o, linux-sh-low.o) + (linux-tic6x-low.o, linux-x86-low.o, linux-xtensa-low.o) + (linux-tile-low.o, lynx-low.o, lynx-ppc-low.o, nto-low.o) + (nto-x86-low.o, linux-low.o, win32-low.o, win32-arm-low.o) + (win32-i386-low.o, spu-low.o, reg-arm.o, arm-with-iwmmxt.o) + (arm-with-vfpv2.o, arm-with-vfpv3.o, arm-with-neon.o, reg-bfin.o) + (reg-cris.o, reg-crisv32.o, i386.o, i386-linux.o, i386-avx.o) + (i386-avx-linux.o, i386-mmx.o, i386-mmx-linux.o, reg-ia64.o) + (reg-m32r.o, reg-m68k.o, reg-cf.o, mips-linux.o, mips-dsp-linux.o) + (mips64-linux.o, mips64-dsp-linux.o, powerpc-32.o, powerpc-32l.o) + (powerpc-altivec32l.o, powerpc-cell32l.o, powerpc-vsx32l.o) + (powerpc-isa205-32l.o, powerpc-isa205-altivec32l.o) + (powerpc-isa205-vsx32l.o, powerpc-e500l.o, powerpc-64l.o) + (powerpc-altivec64l.o, powerpc-cell64l.o, powerpc-vsx64l.o) + (powerpc-isa205-64l.o, powerpc-isa205-altivec64l.o) + (powerpc-isa205-vsx64l.o, s390-linux32.o, s390-linux32v1.o) + (s390-linux32v2.o, s390-linux64.o, s390-linux64v1.o) + (s390-linux64v2.o, s390x-linux64.o, s390x-linux64v1.o) + (s390x-linux64v2.o, tic6x-c64xp-linux.o, tic6x-c64x-linux.o) + (tic6x-c62x-linux.o, reg-sh.o, reg-sparc64.o, reg-spu.o, amd64.o) + (amd64-linux.o, amd64-avx.o, amd64-avx-linux.o, x32.o) + (x32-linux.o, x32-avx.o, x32-avx-linux.o, reg-xtensa.o) + (reg-tilegx.o): Remove. + (all_object_files): New macro. + Include .deps files. + * aclocal.m4, configure: Rebuild. + * acinclude.m4: Include depstand.m4, lead-dot.m4. + * configure.ac: Invoke ZW_CREATE_DEPDIR, + ZW_PROG_COMPILER_DEPENDENCIES. Compute GMAKE condition. + +2012-12-05 Tom Tromey + + PR gdb/14917: + * server.h (current_insn_ptr, emit_error): Declare 'extern'. + +2012-11-28 Markus Metzger + + * configure.ac: Check for linux/perf_event.h. + * config.in: Regenerated. + * configure: Regenerated. + +2012-11-26 Maxime Villard + + * hostio.c (handle_readlink): Decrease buffer size + parameter passed to readlink by one byte. + +2012-11-26 Yao Qi + + * configure.ac (build_warnings): Append '-Wempty-body'. + * configure: Regenerated. + * linux-low.c (linux_create_inferior): Use braces for empty 'if' + body. + +2012-11-15 Pierre Muller + + * configure.ac (AC_CHECK_HEADERS): Add wait.h header. + * config.in: Regenerate. + * configure: Regenerate. + * linux-low.c: Use "gdb_stat.h" header instead of header. + Use "gdb_wait.h" header instead of header. + * lynx-low.c: Use "gdb_wait.h" header instead of header. + * remote-utils.c: Use "gdb_stat.h" header instead of + header. + * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header + instead of header. + * spu-low.c: Use "gdb_wait.h" header instead of header. + +2012-11-13 Markus Metzger + + * Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVER + (various make rules): Remove -DGDBSERVER + +2012-11-09 Yao Qi + + * spu-low.c (current_ptid): Move it to .. + * gdbthread.h: ... here. New. + * remote-utils.c (read_ptid): Use macro 'current_ptid'. + * server.c (myresume, process_serial_event): Likewise. + * thread-db.c (thread_db_find_new_threads): Likewise. + * tracepoint.c (run_inferior_command): Likewise. + +2012-10-01 Andrew Burgess + + * server.c (handle_search_memory_1): Include access length in + warning message. + +2012-09-05 Michael Brandt + + * linux-crisv32-low.c: Fix compile errors. + +2012-09-04 Yao Qi + + * tracepoint.c (cmd_qtsv): Adjust debug message. + Don't check CUR_TPOINT. + +2012-08-28 Yao Qi + + * ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF. + * server.h: Include 'libiberty.h' and 'ansidecl.h'. + (ATTR_NORETURN, ATTR_FORMAT, ATTR_MALLOC): Remove. + Remove declarations of xmalloc, xreallloc, xstrdup and + freeargv. + * Makefile.in (libiberty_h): New. + (server_h): Append dependencies 'libiberty.h' and 'ansidecl.h'. + (linux-bfin-low.o): Append dependency 'libiberty.h'. + +2012-08-23 Yao Qi + + * server.h: Remove declaration of 'xsnprintf'. + +2012-08-22 Keith Seitz + + * server.h: Include build-gnulib-gbserver/config.h. + * gdbreplay.c: Likewise. + +2012-08-08 Doug Evans + + * Makefile.in (SFILES): Add gdb_vecs.c. + (OBS): Add gdb_vecs.o. + (gdb_vecs_h, host_defs_h): New variables. + (thread-db.o): Add $(gdb_vecs_h) dependency. + (gdb_vecs.o): New rule. + * thread-db.c: #include "gdb_vecs.h". + (thread_db_load_search): Use a vector to iterate over path elements. + Handle text appearing after "$pdir". + + * configure.ac: Add check for strstr. + * config.in: Regenerate. + * configure: Regenerate. + +2012-08-02 Ulrich Weigand + + * hostio.c (handle_pread): If pread fails, fall back to attempting + lseek/read. + (handle_pwrite): Likewise for pwrite. + +2012-08-01 Ulrich Weigand + + * linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish + between unsupported TYPE and unimplementable ADDR/LEN combination. + (arm_insert_point): Act on new return value. + +2012-07-31 Pedro Alves + + * server.c (process_point_options): Only skip tokens if we find + one that is unrecognized. Don't treat 'X' specially while + skipping unrecognized tokens. + +2012-07-30 Ulrich Weigand + + * linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt + to 4-byte-align HW breakpoint addresses for Thumb. + +2012-07-27 Yao Qi + + PR remote/14161. + + * server.h: Declare gdb_agent_about_to_close. + * target.c (kill_inferior): Include "agent.h". + New. Send command 'kill'. + * target.h (kill_inferior): Removed macro. + * tracepoint.c (gdb_agent_about_to_close): New. + (gdb_agent_helper_thread): Handle command 'close'. + Wait endlessly until the inferior stops. + Install gdb_agent_remove_socket to atexit hook. + (agent_socket_name): New static variable. + (gdb_agent_socket_init): Replace local variable 'name' with + 'agent_socket_name'. + (gdb_agent_remove_socket): New. + +2012-07-27 Yao Qi + + * server.c (process_point_options): Stop at 'X' when parsing. + +2012-07-19 Michael Eager + + * 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 + hardware breakpoint. + +2012-07-07 Jan Kratochvil + + * gdbserver/linux-low.c (initialize_low): Call + linux_ptrace_init_warnings. + +2012-07-02 Doug Evans + + * mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from + pointer to int. + +2012-07-02 Stan Shebs + + * Makefile.in (WARN_CFLAGS_NO_FORMAT): Define. + (ax.o): Add it to build rule. + (ax-ipa.o): Ditto. + (OBS): Add format.o. + (IPA_OBS): Add format.o. + * server.c (handle_query): Claim support for breakpoint commands. + (process_point_options): Add command case. + (process_serial_event): Leave running if there are printfs in + effect. + * mem-break.h (any_persistent_commands): Declare. + (add_breakpoint_commands): Declare. + (gdb_no_commands_at_breakpoint): Declare. + (run_breakpoint_commands): Declare. + * mem-break.c (struct point_command_list): New struct. + (struct breakpoint): New field command_list. + (any_persistent_commands): New function. + (add_commands_to_breakpoint): New function. + (add_breakpoint_commands): New function. + (gdb_no_commands_at_breakpoint): New function. + (run_breakpoint_commands): New function. + * linux-low.c (linux_wait_1): Test for and run breakpoint commands + locally. + * ax.c: Include format.h. + (ax_printf): New function. + (gdb_eval_agent_expr): Add printf opcode. + +2012-06-13 Yao Qi + + * server.c (start_inferior): Remove duplicated writes to fields + 'last_resume_kind' and 'last_status' of 'current_inferior'. + +2012-06-12 Yao Qi + Pedro Alves + + * linux-low.c (linux_set_resume_request): Simplify predicate. Add + comment. + * server.c (handle_v_cont): Extend comment. + +2012-06-11 Yao Qi + + * linux-low.c (linux_attach): Add 'static'. + +2012-06-06 Yao Qi + + * ax.c (gdb_eval_agent_expr): Print `top' in hex. + +2012-06-01 Jan Kratochvil + + Fix gcc -flto compilation warning. + * server.c (main): Make variable multi_mode and attach volatile. + +2012-05-30 Thiago Jung Bauermann + + * linux-low.c (get_r_debug): Disable code using DT_MIPS_RLD_MAP + if the platform doesn't know about it. + +2012-05-30 Jeff Kenton + + * Makefile.in (SFILES): Add linux-tile-low.c. + (linux-tile-low.o, reg-tilegx.o, reg-tilegx.c): New rules. + * configure.srv: Handle tilegx-*-linux*. + * linux-tile-low.c: New file. + +2012-05-28 Jan Kratochvil + + * linux-low.c (linux_qxfer_libraries_svr4): Return -1 if R_DEBUG is -1. + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace target_signal with gdb_signal throughout. + +2012-05-22 Maciej W. Rozycki + + * linux-low.c (linux_store_registers): Avoid the copying sequence + when no data has been retrieved by ptrace. + +2012-05-22 Will Deacon + + * linux-low (__UCLIBC__ && !(__UCLIBC_HAS_MMU__ || __ARCH_HAS_MMU__)): + Include asm/ptrace.h. + (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define only if not + already defined. + +2012-05-21 Maciej W. Rozycki + + * linux-low.c (linux_store_registers): Don't re-retrieve data + with ptrace that has already been obtained from /proc. Always + copy any data retrieved with ptrace to the buffer supplied. + +2012-05-11 Yao Qi + Pedro Alves + + * linux-low.c (enum stopping_threads_kind): New. + (stopping_threads): Change type to `enum stopping_threads_kind'. + (handle_extended_wait): If stopping and suspending threads, leave + the new_lwp suspended too. + (linux_wait_for_event): Adjust. + (stop_all_lwps): Set `stopping_threads' to + STOPPING_AND_SUSPENDING_THREADS or STOPPING_THREADS depending on + whether we're suspending threads or just stopping them. Assert no + recursion happens. + +2012-04-29 Yao Qi + + * server.h: Move some code to ... + * gdbthread.h: ... here. New. + * Makefile.in (inferiors.o, regcache.o): Depends on gdbthread.h + (remote-utils.o, server.o, target.o tracepoint.o): Likewise. + (nto-low.o, win32-low.o): Likewise. + * inferiors.c, linux-low.h, nto-low.c: Include gdbthread.h. + * regcache.c, remote-utils.c, server.c: Likewise. + * target.c, tracepoint.c, win32-low.c: Likewise. + +2012-04-24 Thiago Jung Bauermann + + * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c. + (PTRACE_ARG4_TYPE): Likewise. + (PTRACE_XFER_TYPE): Likewise. + * linux-arm-low.c (arm_prepare_to_resume): Cast third argument of + ptrace to PTRACE_ARG3_TYPE. + * linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h. + (PTRACE_ARG4_TYPE): Likewise. + (PTRACE_XFER_TYPE): Likewise. + (linux_detach_one_lwp): Cast fourth argument of + ptrace to long then PTRACE_ARG4_TYPE. + (regsets_fetch_inferior_registers): Cast third argument of + ptrace to long then PTRACE_ARG3_TYPE. + (regsets_store_inferior_registers): Likewise. + +2012-04-20 Pedro Alves + + * configure: Regenerate. + +2012-04-19 Pedro Alves + + * 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 + $(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. + +2012-04-19 Pedro Alves + + * Makefile.in (LIBGNU, INCGNU): Adjust. + (GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust. + (all, install-only, uninstall, clean-info, all-lib, clean) + (maintainer-clean, Makefile, gnulib/Makefile): Adjust. + * configure.ac: Adjust AC_OUTPUT output. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2012-04-19 Pedro Alves + + * Makefile.in (generated_files): New. + (server_h): Remove the explicit dependency on config.h, and depend + on $generated_files. + +2012-04-19 Pedro Alves + + * Makefile.in (INCGNU): Add -Ignulib. + +2012-04-19 Pedro Alves + + * Makefile.in (GNULIB_INCLUDE_DIR): Rename to ... + (INCGNU): ... this, and spell out -I here. + (GNULIB_LIB): Rename to ... + (LIBGNU): ... this. + (INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust. + +2012-04-19 Pedro Alves + + * config.in: Regenerate. + +2012-04-19 Pedro Alves + + * configure.ac: Remove AC_CHECK_DECLS check for memmem. + * server.h (memmem): Remove declaration. + * config.in: Regenerate. + * configure: Regenerate. + +2012-04-19 Yao Qi + + * Makefile.in (SFILES): Add common/vec.c. + (OBS): Add vec.o. + (vec.o): New rule. + +2012-04-19 Yao Qi + + * remote-utils.c (prepare_resume_reply): Replace with macro + target_core_of_thread. + * server.c (handle_qxfer_threads_proper): Likewise. + * target.h (traget_core_of_thread): New macro. + +2012-04-18 Pedro Alves + + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2012-04-16 Yao Qi + + * tracepoint.c (cmd_qtstart): Download tracepoints even when they are + duplicated on address. + +2012-04-16 Yao Qi + + * tracepoint.c (COPY_FIELD_TO_BUF): New macro. + (struct tracepoint_action_ops) : New field. + (m_tracepoint_action_send, r_tracepoint_action_send): New. + (agent_expr_send, x_tracepoint_action_send): New. + (l_tracepoint_action_send): New. + (cmd_qtdp): Download and install tracepoint + according to `use_agent'. + (run_inferior_command): Add one more parameter `len'. + Update callers. + (tracepoint_send_agent): New. + (cmd_qtdp, cmd_qtstart): Call tracepoint_send_agent. + +2012-04-16 Yao Qi + + * tracepoint.c (download_tracepoints): Moved to ... + (cmd_qtstart): ... here. + +2012-04-14 Yao Qi + + * tracepoint.c: Include inttypes.h. + (struct collect_memory_action): Use sized types. + (struct tracepoint): Likewise. + (cmd_qtdp, stop_tracing): Update print specifiers. + (cmd_qtp, response_tracepoint): Likewise. + (collect_data_at_tracepoint): Likewise. + (collect_data_at_step): Likewise. + 2012-04-14 Yao Qi Import gnulib module inttypes. @@ -475,7 +1126,7 @@ 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, @@ -1070,7 +1721,8 @@ (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 @@ -1161,16 +1813,16 @@ * 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. - (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. + (gdb_probe): Skip data collection if static tracepoint is disabled. 2011-05-10 Doug Evans @@ -1199,8 +1851,8 @@ 2011-04-26 Yao Qi - * 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. @@ -2153,7 +2805,8 @@ (struct collect_static_trace_data_action): Delete. (enum tracepoint_type): New. (struct tracepoint) : New field `type'. - : Only include in GDBserver. + : Only include in + GDBserver. : New fields. (tracepoints): Use IP_AGENT_EXPORT. @@ -3233,7 +3886,8 @@ (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. @@ -3276,8 +3930,8 @@ (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) @@ -4706,8 +5360,8 @@ 2008-04-21 Ulrich Weigand - * 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