+2012-01-04 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (cmd_qtdp): Print debug message
+ for static tracepoint.
+
+2012-01-04 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (trace_vdebug): Differentiate debug message
+ between gdbserver and IPA.
+
+2012-01-03 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (tracepoint_was_hit): Don't collect for
+ static tracepoint.
+
+2012-01-02 Joel Brobecker <brobecker@adacore.com>
+
+ * terminal.h: Reformat copyright header.
+
+2012-01-02 Joel Brobecker <brobecker@adacore.com>
+
+ * server.c (gdbserver_version): Update copyright year.
+ * gdbreplay.c (gdbreplay_version): Likewise.
+
+2011-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-low.c (linux_create_inferior): Put empty if clause for write.
+
+ Revert:
+ 2011-12-18 Hui Zhu <teawater@gmail.com>
+ * linux-low.c (linux_create_inferior): Save return value to ret.
+
+2011-12-18 Hui Zhu <teawater@gmail.com>
+
+ * linux-low.c (linux_create_inferior): Save return value to ret.
+
+2011-12-16 Doug Evans <dje@google.com>
+
+ * linux-low.c (linux_create_inferior): If stdio connection,
+ redirect stdin from /dev/null, stdout to stderr.
+ * remote-utils.c (remote_is_stdio): New static global.
+ (remote_connection_is_stdio): New function.
+ (remote_prepare): Handle stdio connection.
+ (remote_open): Ditto.
+ (remote_close): Don't close stdin for stdio connections.
+ (read_prim,write_prim): New functions. Replace all calls to
+ read/write to these.
+ * server.c (main): Watch for "-" argument. Move call to
+ remote_prepare before start_inferior.
+ * server.h (STDIO_CONNECTION_NAME): New macro.
+ (remote_connection_is_stdio): Declare.
+
+ * remote-utils.c (prepare_resume_reply): Remove extraneous \n
+ in debugging output.
+
+2011-12-15 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c: Include sys/syscall.h.
+ (gdb_ust_thread): Remove preprocessor conditional.
+
+2011-12-14 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-low.c (linux_detach_one_lwp): Call
+ the_low_target.prepare_to_resume before detaching.
+
+2011-12-14 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (gdb_ust_thread): Don't ignore return value
+ of write.
+
+2011-12-14 Yao Qi <yao@codesourcery.com>
+
+ * i386-low.c (i386_low_stopped_data_address): Initialize local
+ variable `control'.
+
+2011-12-13 Pedro Alves <pedro@codesourcery.com>
+
+ PR remote/13492
+
+ * i386-low.c (i386_low_stopped_data_address): Avoid fetching
+ DR_CONTROL unless necessary. Extend comments.
+ * linux-x86-low.c (x86_linux_prepare_to_resume): Don't write to
+ DR0-3 if not used. If any watchpoint was set, clear DR_STATUS.
+
+2011-12-13 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (trace_buffer_alloc): Replace magic numbers with
+ macros.
+ (upload_fast_traceframes, upload_fast_traceframes): Likewise.
+
+2011-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-low.c (linux_kill): Skip PTRACE_KILL if LWP does not exist.
+ Print new debug message for such case.
+
+2011-12-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix overlapping memcpy.
+ * mem-break.c (set_raw_breakpoint_at): New variable buf. Use it for
+ the read_inferior_memory transfer.
+ (delete_fast_tracepoint_jump): New variable buf. Use it for the
+ write_inferior_memory transfer.
+ (set_fast_tracepoint_jump): New variable buf. Use it for the
+ read_inferior_memory and write_inferior_memory transfers.
+ (uninsert_fast_tracepoint_jumps_at, reinsert_fast_tracepoint_jumps_at)
+ (delete_raw_breakpoint, uninsert_raw_breakpoint): New variable buf.
+ Use it for the write_inferior_memory transfer.
+ (check_mem_read, check_mem_write): New gdb_asserts for overlapping
+ buffers.
+
+2011-12-06 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-low.c (fetch_register, store_register): Make code
+ consistent, fix formatting.
+
+2011-12-06 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-low.c (usr_store_inferior_registers): Factor out code
+ to handle individual registers into...
+ (store_register): ... this new function.
+
+2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * Makefile.in (s390-linux32v1.o, s390-linux32v1.c): New rules.
+ (s390-linux32v2.o, s390-linux32v2.c): Likewise.
+ (s390-linux64v1.o, s390-linux64v1.c): Likewise.
+ (s390-linux64v2.o, s390-linux64v2.c): Likewise.
+ (s390x-linux64v1.o, s390x-linux64v1.c): Likewise.
+ (s390x-linux64v2.o, s390x-linux64v2.c): Likewise.
+ * configure.srv [s390*-*-linux*] (srv_regobj): Add new objects.
+ (srv_xmlfiles): Add new XML files.
+
+ * linux-s390-low.c: Include "elf/common.h", <sys/ptrace.h>,
+ and <sys/uio.h>.
+ (PTRACE_GETREGSET, PTRACE_SETREGSET): Define if undefined.
+ (init_registers_s390_linux32v1): Add prototype.
+ (init_registers_s390_linux32v2): Likewise.
+ (init_registers_s390_linux64v1): Likewise.
+ (init_registers_s390_linux64v2): Likewise.
+ (init_registers_s390x_linux64v1): Likewise.
+ (init_registers_s390x_linux64v2): Likewise.
+ (s390_num_regs): Increment to 52.
+ (s390_regmap): Add orig_r2 register.
+ (s390_num_regs_3264): Increment to 68.
+ (s390_regmap_3264): Add orig_r2 register.
+ (s390_collect_ptrace_register): Handle orig_r2 register.
+ (s390_supply_ptrace_register): Likewise.
+ (s390_fill_last_break): New function.
+ (s390_store_last_break): Likewise.
+ (s390_fill_system_call): New function.
+ (s390_store_system_call): Likewise.
+ (target_regsets): Handle NT_S390_LAST_BREAK and NT_S390_SYSTEM_CALL
+ register sets.
+ (s390_check_regset): New function.
+ (s390_arch_setup): Check for presence of NT_S390_LAST_BREAK and
+ NT_S390_SYSTEM_CALL regsets and use appropriate description.
+ Update target_regsets for available register sets.
+
+2011-12-02 Paul Pluzhnikov <ppluzhnikov@google.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-low.c (get_phdr_phnum_from_proc_auxv, get_dynamic, get_r_debug)
+ (read_one_ptr, struct link_map_offsets, linux_qxfer_libraries_svr4):
+ New.
+ (struct linux_target_ops): Install linux_qxfer_libraries_svr4.
+ * linux-low.h (struct process_info_private): New member r_debug.
+ * server.c (handle_qxfer_libraries): Call
+ the_target->qxfer_libraries_svr4.
+ (handle_qxfer_libraries_svr4): New function.
+ (qxfer_packets): New entry "libraries-svr4".
+ (handle_query): Check QXFER_LIBRARIES_SVR4 and report libraries-svr4.
+ * target.h (struct target_ops): New member qxfer_libraries_svr4.
+ * remote.c (remote_xfer_partial): Call add_packet_config_cmd for
+ PACKET_qXfer_libraries_svr4.
+
+2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * linux-s390-low.c (s390_collect_ptrace_register): Fully convert
+ PSW address/mask between 8-byte and 16-byte formats.
+ (s390_supply_ptrace_register): Likewise.
+ (s390_get_pc, s390_set_pc): 4-byte PSW address always includes
+ basic addressing mode bit.
+
+2011-11-24 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (cmd_qtstatus): Use plongest instead of %llx.
+
+2011-11-17 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (struct tracepoint): New field traceframe_usage.
+ (tracing_start_time): New global.
+ (tracing_stop_time): New global.
+ (tracing_user_name): New global.
+ (tracing_notes): New global.
+ (tracing_stop_note): New global.
+ (cmd_qtstart): Set traceframe_usage, start_time.
+ (stop_tracing): Set stop_time.
+ (cmd_qtstatus): Report additional status.
+ (cmd_qtp): New function.
+ (handle_tracepoint_query): Call it.
+ (cmd_qtnotes): New function.
+ (handle_tracepoint_general_set): Call it.
+ (get_timestamp): Rename from tsv_get_timestamp.
+
+2011-11-14 Stan Shebs <stan@codesourcery.com>
+ Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * linux-x86-low.c (small_jump_insn): New.
+ (i386_install_fast_tracepoint_jump_pad): Add arguments for
+ trampoline and error message, build a trampoline and issue a small
+ jump instruction to it.
+ (x86_install_fast_tracepoint_jump_pad): Add arguments for
+ trampoline and error message.
+ (x86_get_min_fast_tracepoint_insn_len): New.
+ (the_low_target): Add call to x86_get_min_fast_tracepoint_insn_len.
+ * linux-low.h (struct linux_target_ops): Add arguments to
+ install_fast_tracepoint_jump_pad operation, add new operation.
+ * linux-low.c (linux_install_fast_tracepoint_jump_pad): Add
+ arguments.
+ (linux_get_min_fast_tracepoint_insn_len): New function.
+ (linux_target_op): Add new operation.
+ * tracepoint.c (gdb_trampoline_buffer): New IPA variable.
+ (gdb_trampoline_buffer_end): Ditto.
+ (gdb_trampoline_buffer_error): Ditto.
+ (struct ipa_sym_addresses): Add fields for new IPA variables.
+ (symbol_list): Add entries for new IPA variables.
+ (struct tracepoint): Add fields to hold the address range of the
+ trampoline used by the tracepoint.
+ (trampoline_buffer_head): New static variable.
+ (trampoline_buffer_tail): Ditto.
+ (claim_trampoline_space): New function.
+ (have_fast_tracepoint_trampoline_buffer): New function.
+ (clone_fast_tracepoint): Fill in trampoline fields of tracepoint
+ structure.
+ (install_fast_tracepoint): Ditto, also add error buffer argument.
+ (cmd_qtminftpilen): New function.
+ (handle_tracepoint_query): Add response to qTMinFTPILen packet.
+ (fast_tracepoint_from_trampoline_address): New function.
+ (fast_tracepoint_collecting): Handle trampoline as part of jump
+ pad space.
+ (set_trampoline_buffer_space): New function.
+ (initialize_tracepoint): Initialize new IPA variables.
+ * target.h (struct target_ops): Add arguments to
+ install_fast_tracepoint_jump_pad operation, add new
+ get_min_fast_tracepoint_insn_len operation.
+ (target_get_min_fast_tracepoint_insn_len): New.
+ (install_fast_tracepoint_jump_pad): Add arguments.
+ * server.h (IPA_BUFSIZ): Define.
+ * linux-i386-ipa.c: Include extra header files.
+ (initialize_fast_tracepoint_trampoline_buffer): New function.
+ (initialize_low_tracepoint): Call it.
+ * server.h (set_trampoline_buffer_space): Declare.
+ (claim_trampoline_space): Ditto.
+ (have_fast_tracepoint_trampoline_buffer): Ditto.
+
+2011-11-14 Yao Qi <yao@codesourcery.com>
+
+ * server.c (handle_query): Handle InstallInTrace for qSupported.
+ * tracepoint.c (add_tracepoint): Sort list.
+ (install_tracepoint, download_tracepoint): New.
+ (cmd_qtdp): Call them to install and download tracepoints.
+ (sort_tracepoints): Removed.
+ (cmd_qtstart): Update.
+
+2011-11-14 Yao Qi <yao@codesourcery.com>
+
+ * mem-break.c (inc_ref_fast_tracepoint_jump): New.
+ * mem-break.h: Declare.
+ * tracepoint.c (cmd_qtstart): Move some code to ...
+ (clone_fast_tracepoint, install_fast_tracepoint): ... here.
+ New.
+ (download_tracepoints): Move some code to ...
+ (download_tracepoint_1): ... here. New.
+
+2011-11-08 Yao Qi <yao@codesourcery.com>
+
+ * remote-utils.c (relocate_instruction): A comment fix.
+
+2011-11-07 Joel Brobecker <brobecker@adacore.com>
+
+ * win32-i386-low.c (dr_status_mirror, dr_control_mirror): Delete.
+ (i386_dr_low_get_control, i386_dr_low_get_status): Use
+ dr_status_mirror and dr_control_mirror from debug_reg_state.
+ (i386_dr_low_get_status): Use debug_reg_state.dr_status_mirror
+ (i386_initial_stuff): Remove use of deleted globals.
+ (i386_get_thread_context, i386_set_thread_context,
+ i386_thread_added): Use dr_status_mirror and dr_control_mirror
+ from debug_reg_state.
+
+2011-11-05 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (gdb_collect): Loop over tracepoints of same
+ address as TPOINT's.
+
+2011-11-02 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (agent_mem_read_string): New function.
+ (eval_agent_expr): Call it for tracenz.
+ * server.c (handle_query): Report support for tracenz.
+
+2011-11-02 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (cmd_qtstart): Remove unused local variables.
+
+2011-11-02 Yao Qi <yao@codesourcery.com>
+
+ * target.h: Fix a typo in comment.
+
+2011-10-31 Pedro Alves <pedro@codesourcery.com>
+
+ * mem-break.c (check_mem_write): Add `myaddr' parameter. Don't
+ clobber the breakpoints' shadows with fast tracepoint jumps.
+ * mem-break.h (check_mem_write): Add `myaddr' parameter.
+ * target.c (write_inferior_memory): Also pass MYADDR down to
+ check_mem_write.
+
+2011-10-07 Ulrich Weigand <ulrich.weigand@linaro.org>
+
+ * configure.ac: Check support for personality routine.
+ * configure: Regenerate.
+ * config.in: Likewise.
+ * linux-low.c: Include <sys/personality.h>.
+ Define ADDR_NO_RANDOMIZE if necessary.
+ (linux_create_inferior): Disable address space randomization when
+ forking inferior, if requested.
+ (linux_supports_disable_randomization): New function.
+ (linux_target_ops): Install it.
+ * server.h (disable_randomization): Declare.
+ * server.c (disable_randomization): New global variable.
+ (handle_general_set): Handle QDisableRandomization.
+ (handle_query): Likewise for qSupported.
+ (main): Support --disable-randomization and --no-disable-randomization
+ command line arguments.
+ * target.h (struct target_ops): Add supports_disable_randomization.
+ (target_supports_disable_randomization): New macro.
+
2011-09-29 Mike Frysinger <vapier@gentoo.org>
* linux-low.c (target_loadseg): Add defined PTRACE_GETFDPIC to the