aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2021-03-16 19:36:39 +0100
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2021-03-22 09:18:04 +0100
commitd171632faa9f563f47224e0f6214f8860ed7bcc4 (patch)
tree1a817528568a6d8840199f132491314996f1ae16 /gdbserver/ChangeLog
parent2aaf2ce843e4078b158cdfb61435217621ba1803 (diff)
downloadbinutils-d171632faa9f563f47224e0f6214f8860ed7bcc4.zip
binutils-d171632faa9f563f47224e0f6214f8860ed7bcc4.tar.gz
binutils-d171632faa9f563f47224e0f6214f8860ed7bcc4.tar.bz2
gdbserver: convert the global dll list into a process_info field
The 'all_dlls' list is global. This would cause the complete dll list to be reported for individual processes. Move the list into the process_info struct. Currently the dll list is used only by the win32-low target, which does not support the multi-process feature. Therefore, it practically does not matter whether the list is global or per-process. However, there may be targets that are outside the binutils-gdb repo (e.g. we, at Intel, have such a target) that have multi-process and use the dll list. So, it makes sense to do the right thing. gdbserver/ChangeLog: 2021-03-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * inferiors.h (struct process_info) <all_dlls, dlls_changed>: New fields. * dll.h (loaded_dll) (unloaded_dll): Declare an overloaded version that takes a proc parameter. * dll.cc (loaded_dll) (unloaded_dll): Implement the overloaded versions. (clear_dlls): Clear all process' dll lists. (all_dlls, dlls_changed): Remove the global variables. * remote-utils.cc (prepare_resume_reply): Update to consider a dll list per proc. * server.cc (handle_qxfer_libraries): Ditto. (handle_v_attach): Ditto. (captured_main): Ditto.
Diffstat (limited to 'gdbserver/ChangeLog')
-rw-r--r--gdbserver/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index 0e713cc..d870154 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -1,3 +1,20 @@
+2021-03-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * inferiors.h (struct process_info) <all_dlls, dlls_changed>: New
+ fields.
+ * dll.h (loaded_dll)
+ (unloaded_dll): Declare an overloaded version that takes a proc
+ parameter.
+ * dll.cc (loaded_dll)
+ (unloaded_dll): Implement the overloaded versions.
+ (clear_dlls): Clear all process' dll lists.
+ (all_dlls, dlls_changed): Remove the global variables.
+ * remote-utils.cc (prepare_resume_reply): Update to consider a dll
+ list per proc.
+ * server.cc (handle_qxfer_libraries): Ditto.
+ (handle_v_attach): Ditto.
+ (captured_main): Ditto.
+
2021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
* linux-low.cc (linux_process_target::filter_event): Return