* linux-low.c (linux_wait_for_event_1): Move passing the signal to
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 86caf1e7639b253686c485d2790b1ad6b6fbac75..e4058dc463788e0f2cbb51ab8eda3131be553886 100644 (file)
@@ -1,3 +1,172 @@
+2010-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_wait_for_event_1): Move passing the signal to
+       the inferior right away from here...
+       (linux_wait_1): ... to here, and adjust to check the thread's
+       last_resume_kind instead of the lwp's step or stop_expected flags.
+
+2010-05-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * README: Use consistent `GDB' and `GDBserver' spellings.
+
+2010-05-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
+       (linux_kill): Stop all lwps here.  Don't delete the main lwp here.
+       (linux_detach_one_lwp): Assume the lwp is stopped.
+       (any_thread_of): Delete.
+       (linux_detach): Stop all lwps here.  Don't blindly delete all
+       breakpoints.
+       (delete_lwp_callback): New.
+       (linux_mourn): Delete all lwps of the process that is gone.
+       (linux_wait_1): Don't delete the last lwp of the process here.
+       * mem-break.h (mark_breakpoints_out): Declare.
+       * mem-break.c (mark_breakpoints_out): New.
+       (free_all_breakpoints): Use it.
+       * server.c (handle_target_event): If the process is gone, mark
+       breakpoints out.
+       * thread-db.c (struct thread_db) <create_bp>: New field.
+       (thread_db_enable_reporting): Fix prototype.  Store a thread event
+       breakpoint reference in the thread_db struct.
+       (thread_db_load_search): Clear the thread_db object.
+       (try_thread_db_load_1): Ditto.
+       (switch_to_process): New.
+       (disable_thread_event_reporting): Use it.
+       (remove_thread_event_breakpoints): New.
+       (thread_db_detach, thread_db_mourn): Use it.
+
+2010-05-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_enable_event_reporting): New.
+       (linux_wait_for_event_1, handle_extended_wait): Use it.
+
+2010-04-30  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_kill_one_lwp, linux_kill)
+       (linux_detach_one_lwp): Adjust to send_sigstop interface change.
+       (send_sigstop): Take an lwp_info as parameter instead.  Queue a
+       SIGSTOP even if the LWP is stopped.
+       (send_sigstop_callback): New.
+       (stop_all_lwps): Use send_sigstop_callback instead.
+       (linux_resume_one_thread): Adjust.
+       (proceed_one_lwp): Still proceed an LWP that the client has
+       requested to stop, if we haven't reported it as stopped yet.  Make
+       sure that LWPs the client want stopped, have a pending SIGSTOP.
+
+2010-04-26  Doug Evans  <dje@google.com>
+
+       * server.c (handle_general_set): Make static.
+
+       * remote-utils.c (putpkt_binary_1): Call readchar instead of read.
+       Print received char after testing for error/eof instead of before.
+       (input_interrupt): Tweak comment.
+
+2010-04-23  Doug Evans  <dje@google.com>
+
+       * server.c (start_inferior): Print inferior argv if --debug.
+
+2010-04-21  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * Makefile.in (nto_low_h nto-low.o nto-x86-low.o): New dependency lists.
+       * nto-x86-low.c: Include server.h
+
+2010-04-20  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * win32-i386-low.c: Use __x86_64__ macro instead of __x86_64 to
+       be consistent with other sources of this directory.
+       (init_registers_amd64): Correct name of source file of this function
+       in the comment.
+
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * configure.srv (x86_64-*-mingw*): New configuration for Windows
+       64-bit executables.
+
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * win32-i386-low.c: Add 64-bit support.
+       (CONTEXT_EXTENDED_REGISTERS): Set macro to zero if not exisiting.
+       (init_registers_amd64): Declare.
+       (mappings): Add 64-bit version of array.
+       (init_windows_x86): New function.
+       (the_low_target): Change init_arch field to init_windows_x86.
+
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * win32-low.c: Adapt to support also 64-bit architecture.
+       (child_xfer_memory): Use uintptr_t type for local variable `addr'.
+       (get_image_name): Use SIZE_T type for local variable `done'.
+       (psapi_get_dll_name): Use LPVOID type for parameter `BaseAddress'.
+       (toolhelp_get_dll_name): Idem.
+       (handle_load_dll): Use CORE_ADDR type for local variable `load_addr'.
+       Use uintptr_t typecast to avoid warning.
+       (handle_unload_dll): Use uintptr_t typecast to avoid warning.
+       (handle_exception): Use phex_nz to avoid warning.
+       (win32_wait): Remove unused local variable `process'.
+
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * configure.srv (srv_amd64_regobj): Replace `x86-64-avx.o' by
+       `amd64-avx.o'.
+
+2010-04-17  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * configure.ac: Use `ws2_32' library for srv_mingw.
+       * configure: Regenerate.
+       * gdbreplay.c: Include winsock2.h instead of winsock.h.
+       * remote-utils.c: Likewise.
+
+2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only
+       if __x86_64__ is defined.
+
+2010-04-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * configure: Regenerate.
+
+2010-04-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * server.c (handle_query): Handle 'qGetTIBAddr' query.
+       * target.h (target_ops): New get_tib_address field.
+       * win32-low.h (win32_thread_info): Add thread_local_base field.
+       * win32-low.c (child_add_thread): Add tlb argument.
+       Set thread_local_base field to TLB.
+       (get_child_debug_event): Adapt to child_add_thread change.
+       (win32_get_tib_address): New function.
+       (win32_target_ops): Set get_tib_address field to
+       win32_get_tib_address.
+       * linux-low.c (linux_target_ops): Set get_tib_address field to NULL.
+
+2010-04-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_mourn): Also remove the process.
+       * server.c (handle_target_event): Don't remove the process here.
+       * nto-low.c (nto_mourn): New.
+       (nto_target_ops): Install it.
+       * spu-low.c (spu_mourn): New.
+       (spu_target_ops): Install it.
+       * win32-low.c (win32_mourn): New.
+       (win32_target_ops): Install it.
+
+2010-04-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * server.h (buffer_xml_printf): Remove redundant `;'.
+
+2010-04-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * regcache.c (set_register_cache): Invalidate regcaches before
+       changing the register cache layout.
+       (regcache_invalidate_one): Allow a NULL regcache.
+       * linux-x86-low.c (x86_linux_update_xmltarget): Invalidate
+       regcaches before changing the register cache layout or the target
+       regsets.
+
+2010-04-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused
+       variable warning on Linux/x86-64.
+
 2010-04-11  Pedro Alves  <pedro@codesourcery.com>
 
        GDBserver disconnected tracing support.
This page took 0.026262 seconds and 4 git commands to generate.