2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 464d9dfee694301802c4443278f436742cb6b130..a5db5729225dcedd1c435235e52c1e9aed503ab4 100644 (file)
@@ -1,3 +1,123 @@
+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
This page took 0.026639 seconds and 4 git commands to generate.