* linux-low.c (linux_unprepare_to_access_memory): Rename to ...
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 059fab34cfea3bf640c7edec3f77a5c30c6593d9..fbc3e4efb195ae86e647dd8868585cbd6d698d19 100644 (file)
@@ -1,3 +1,134 @@
+2010-08-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_unprepare_to_access_memory): Rename to ...
+       (linux_done_accessing_memory): ... this.
+       (linux_target_ops): Adjust.
+       * linux-x86-low.c (x86_insert_point, x86_remove_point): Adjust.
+       * nto-low.c (nto_target_ops): Adjust comment.
+       * server.c (gdb_read_memory, gdb_write_memory): Adjust.
+       * spu-low.c (spu_target_ops): Adjust comment.
+       * target.h (target_ops): Rename unprepare_to_access_memory field
+       to done_accessing_memory.
+       (unprepare_to_access_memory): Rename to ...
+       (done_accessing_memory): ... this.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_prepare_to_access_memory): New.
+       (linux_unprepare_to_access_memory): New.
+       (linux_target_ops): Install them.
+       * server.c (read_memory): Rename to ...
+       (gdb_read_memory): ... this.  Use
+       prepare_to_access_memory/prepare_to_access_memory.
+       (write_memory): Rename to ...
+       (gdb_write_memory): ... this.  Use
+       prepare_to_access_memory/prepare_to_access_memory.
+       (handle_search_memory_1): Adjust.
+       (process_serial_event): Adjust.
+       * target.h (struct target_ops): New fields
+       prepare_to_access_memory and unprepare_to_access_memory.
+       (prepare_to_access_memory, unprepare_to_access_memory): New.
+       * linux-x86-low.c (x86_insert_point, x86_remove_point): Use
+       prepare_to_access_memory/prepare_to_access_memory.
+       * nto-low.c (nto_target_ops): Adjust.
+       * spu-low.c (spu_target_ops): Adjust.
+       * win32-low.c (win32_target_ops): Adjust.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (WARN_CFLAGS): Get it from configure.
+       (WERROR_CFLAGS): New.
+       (INTERNAL_CFLAGS): Add WERROR_CFLAGS.
+       * configure.ac: Introduce --enable-werror, which adds -Werror to
+       the compiler command line.  Enabled by default.  Disable with
+       --disable-werror.  Add -Wdeclaration-after-statement
+       Wpointer-arith and -Wformat-nonliteral to warning flags.
+       * configure: Regenerate.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * mem-break.c [HAVE_MALLOC_H]: Include malloc.h.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbreplay.c (remote_error): New.
+       (gdbchar): New.
+       (expect): Use gdbchar.  Check for error reading from GDB.
+       Clarify sync error output.
+       (play): Check for errors writing to GDB.
+       * linux-low.c (sigchld_handler): Really ignore `write' errors.
+       * remote-utils.c (getpkt): Check for errors writing to the remote
+       descriptor.
+
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Move non-debugging code out of
+       `debug_threads' control.
+
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Don't set last_status here.
+       * server.c (push_event, queue_stop_reply_callback): Assert we're
+       not pushing a TARGET_WAITKIND_IGNORE event.
+       (start_inferior, start_inferior, attach_inferior, handle_v_cont)
+       (myresume, handle_target_event): Set the thread's last_resume_kind
+       and last_status from the target returned status.
+
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       PR threads/10729
+
+       * linux-x86-low.c (update_debug_registers_callback): New.
+       (i386_dr_low_set_addr): Use it.
+       (i386_dr_low_get_addr): New.
+       (i386_dr_low_set_control): Use update_debug_registers_callback.
+       (i386_dr_low_get_control): New.
+       (i386_dr_low_get_status): Adjust.
+       * linux-low.c (linux_stop_lwp): New.
+       * linux-low.h (linux_stop_lwp): Declare.
+
+       * i386-low.c (I386_DR_GET_RW_LEN): Take the dr7 contents as
+       argument instead of a i386_debug_reg_state.
+       (I386_DR_WATCH_HIT): Take the dr6 contents as argument instead of
+       a i386_debug_reg_state.
+       (i386_insert_aligned_watchpoint): Adjust.
+       (i386_remove_aligned_watchpoint): Adjust.
+       (i386_low_stopped_data_address): Read the debug registers from the
+       inferior instead of from the mirrors.
+       * i386-low.h (struct i386_debug_reg_state): Extend comment.
+       (i386_dr_low_get_addr): Declare.
+       (i386_dr_low_get_control): Declare.
+       (i386_dr_low_get_status): Change prototype.
+
+       * win32-i386-low.c (dr_status_mirror, dr_control_mirror): New globals.
+       (i386_dr_low_get_addr): New.
+       (i386_dr_low_get_control): New.
+       (i386_dr_low_get_status): Adjust prototype.  Return
+       dr_status_mirror.
+       (i386_initial_stuff): Clear dr_status_mirror and
+       dr_control_mirror.
+       (i386_get_thread_context): Adjust.
+       (i386_set_thread_context): Adjust.
+       (i386_thread_added): Adjust.
+
+2010-08-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.h (linux_thread_area): Delete declaration.
+
+2010-08-11  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Correctly return the ptid of the child
+       after its termination.
+
+2010-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (gdb_wants_lwp_stopped): Delete.
+       (gdb_wants_all_stopped): Delete.
+       (linux_wait_1): Don't call them.
+       * server.c (handle_v_cont): Tag all threads as want-stopped.
+       (gdb_wants_thread_stopped): Fix comments.  Tag the thread that
+       stopped as "client-wants-stopped".
+
 2010-07-31  Pedro Alves  <pedro@codesourcery.com>
 
        * Makefile.in (signals_h): New.
This page took 0.027158 seconds and 4 git commands to generate.