This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 649ebbcaef0f8e58146e62be0d3f22da5f82446c
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 19 Feb 2014 23:31:07 -0000
- Subject: gdb and binutils branch master updated. 649ebbcaef0f8e58146e62be0d3f22da5f82446c
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 649ebbcaef0f8e58146e62be0d3f22da5f82446c (commit)
from b5ad007edc349b3ff44db422273a5efda5f04a15 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=649ebbcaef0f8e58146e62be0d3f22da5f82446c
commit 649ebbcaef0f8e58146e62be0d3f22da5f82446c
Author: Doug Evans <dje@google.com>
Date: Wed Feb 19 15:28:50 2014 -0800
Replace code accessing list implementation details with API calls.
* dll.c (clear_dlls): Replace accessing list implemention details
with API function.
* gdbthread.h (get_first_thread): Declare.
* inferiors.c (for_each_inferior_with_data): New function.
(get_first_thread): New function.
(find_thread_ptid): Simplify.
(get_first_inferior): New function.
(clear_list): Delete.
(one_inferior_p): New function.
(clear_inferior_list): New function.
(clear_inferiors): Update.
* inferiors.h (for_each_inferior_with_data): Declare.
(clear_inferior_list): Declare.
(one_inferior_p): Declare.
(get_first_inferior): Declare.
* linux-low.c (linux_wait_for_event): Replace accessing list
implemention details with API function.
* server.c (target_running): Ditto.
(accumulate_file_name_length): New function.
(emit_dll_description): New function.
(handle_qxfer_libraries): Replace accessing list implemention
details with API function.
(handle_qxfer_threads_worker): New function.
(handle_qxfer_threads_proper): Replace accessing list implemention
details with API function.
(handle_query): Ditto.
(visit_actioned_threads_callback_ftype): New typedef.
(visit_actioned_threads_data): New struct.
(visit_actioned_threads): Rewrite to be find_inferior callback.
(resume): Call find_inferior.
(handle_status): Replace accessing list implemention
details with API function.
(process_serial_event): Replace accessing list implemention details
with API function.
* target.c (set_desired_inferior): Replace accessing list implemention
details with API function.
* tracepoint.c (same_process_p): New function.
(gdb_agent_about_to_close): Replace accessing list implemention
details with API function.
* win32-low.c (child_delete_thread): Replace accessing list
implemention details with API function.
(match_dll_by_basename): New function.
(dll_is_loaded_by_basename): New function.
(win32_ensure_ntdll_loaded): Replace accessing list implemention
details call to dll_is_loaded_by_basename.
-----------------------------------------------------------------------
Summary of changes:
gdb/gdbserver/ChangeLog | 48 +++++++++++
gdb/gdbserver/dll.c | 2 +-
gdb/gdbserver/gdbthread.h | 2 +
gdb/gdbserver/inferiors.c | 70 +++++++++++++---
gdb/gdbserver/inferiors.h | 11 +++
gdb/gdbserver/linux-low.c | 2 +-
gdb/gdbserver/server.c | 191 +++++++++++++++++++++++++++-----------------
gdb/gdbserver/target.c | 2 +-
gdb/gdbserver/tracepoint.c | 24 +++---
gdb/gdbserver/win32-low.c | 34 ++++++--
10 files changed, 278 insertions(+), 108 deletions(-)
hooks/post-receive
--
gdb and binutils