+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * Makefile.in (SFILES): Add $(srcdir)/proc-service.list.
+ (CDEPS): New.
+ * configure.ac (RDYNAMIC): New AC_MSG_CHECKING wrapping. Test also
+ -Wl,--dynamic-list.
+ * configure: Regenerate.
+ * proc-service.list: New.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-low.c (linux_core_of_thread): Fix crash on invalid CONTENT.
+ New comment.
+
+2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
+
+ * gdbreplay.c (remote_open): Check error return from socket() call by
+ its equality to -1 not by it being negative.
+ * remote-utils.c (remote_open): Likewise.
+
+2010-05-23 Pedro Alves <pedro@codesourcery.com>
+
+ * config.h: Regenerate.
+
+2010-05-19 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * linux-m68k-low.c (ps_get_thread_area): Don't define if kernel
+ doesn't provide PTRACE_GET_THREAD_AREA.
+
+2010-05-19 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * linux-m68k-low.c: Include <asm/ptrace.h>
+ (ps_get_thread_area): Implement.
+
+2010-05-03 Doug Evans <dje@google.com>
+
+ * event-loop.c (struct callback_event): New struct.
+ (callback_list): New global.
+ (append_callback_event, delete_callback_event): New functions.
+ (process_callback): New function.
+ (start_event_loop): Call it.
+ * remote-utils.c (NOT_SCHEDULED): Define.
+ (readchar_buf, readchar_bufcnt, readchar_bufp): New static globals,
+ moved out of readchar.
+ (readchar): Rewrite. Call reschedule before returning.
+ (reset_readchar): New function.
+ (remote_close): Call it.
+ (process_remaining, reschedule): New functions.
+ * server.h (callback_handler_func): New typedef.
+ (append_callback_event, delete_callback_event): Declare.
+
+2010-05-03 Pedro Alves <pedro@codesourcery.com>
+
+ * proc-service.c (ps_pglobal_lookup): Use
+ thread_db_look_up_one_symbol.
+ * remote-utils.c (look_up_one_symbol): Add new `may_ask_gdb'
+ parameter. Use it instead of all_symbols_looked_up.
+ * server.h (struct process_info) <all_symbols_looked_up>: Delete
+ field.
+ (all_symbols_looked_up): Don't declare.
+ (look_up_one_symbol): Add new `may_ask_gdb' parameter.
+ * thread-db.c (struct thread_db) <all_symbols_looked_up>: New
+ field.
+ (thread_db_look_up_symbols): Adjust call to look_up_one_symbol.
+ Set all_symbols_looked_up here.
+ (thread_db_look_up_one_symbol): New.
+ (thread_db_get_tls_address): Adjust.
+ (thread_db_load_search, try_thread_db_load_1): Always allocate the
+ thread_db object on the heap, and tentatively set it in the
+ process structure.
+ (thread_db_init): Don't set all_symbols_looked_up here.
+ * linux-low.h (thread_db_look_up_one_symbol): Declare.
+
+2010-05-03 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-low.c (linux_kill, linux_detach): Adjust.
+ (status_pending_p_callback): Remove redundant statement. Check
+ for !TARGET_WAITIKIND_IGNORE, instead of
+ TARGET_WAITKIND_STOPPED.
+ (handle_tracepoints): Make sure LWP is locked. Adjust.
+ (linux_wait_for_event_1): Adjust.
+ (linux_cancel_breakpoints): New.
+ (unsuspend_one_lwp): New.
+ (unsuspend_all_lwps): New.
+ (linux_wait_1): If finishing a step-over, unsuspend all lwps.
+ (send_sigstop_callback): Change return type to int, add new
+ `except' parameter and handle it.
+ (suspend_and_send_sigstop_callback): New.
+ (stop_all_lwps): Add new `suspend' and `expect' parameters, and
+ pass them down. If SUSPEND, also increment the lwp's suspend
+ count.
+ (linux_resume_one_lwp): Add notice about resuming a suspended LWP.
+ (need_step_over_p): Don't consider suspended LWPs.
+ (start_step_over): Adjust.
+ (proceed_one_lwp): Change return type to int, add new `except'
+ parameter and handle it.
+ (unsuspend_and_proceed_one_lwp): New.
+ (proceed_all_lwps): Use find_inferior instead of
+ for_each_inferior.
+ (unstop_all_lwps): Add `unsuspend' parameter. If UNSUSPEND, them
+ also decrement the suspend count of LWPs. Pass `except' down,
+ instead of hacking its suspend count.
+ (linux_pause_all): Add `freeze' parameter. Adjust.
+ (linux_unpause_all): New.
+ (linux_target_ops): Install linux_unpause_all.
+ * server.c (handle_status): Adjust.
+ * target.h (struct target_ops): New fields `unpause_all' and
+ `cancel_breakpoints'. Add new parameter to `pause_all'.
+ (pause_all): Add new `freeze' parameter.
+ (unpause_all): New.
+ (cancel_breakpoints): New.
+ * tracepoint.c (clear_installed_tracepoints): Pause threads, and
+ cancel breakpoints.
+ (cmd_qtstart): Pause threads.
+ (stop_tracing): Pause threads, and cancel breakpoints.
+ * win32-low.c (win32_target_ops): Adjust.
+
+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)