This is the sixth and final patch to improve module loading in a series that started here (where I explain the motivation and solution): D62499
When xfer:libraries-svr4 is available the Process class has a LoadModules function that requests this packet and then loads or unloads modules based on the current list of loaded modules by the process.
This is function is used by DYLDRendezvous to get the list of loaded modules before and after the module is loaded. However, this is really not needed since the LoadModules function already loaded or unloaded the modules accordingly. I changed this strategy to call LoadModules only once (after the process has loaded the module).
I also removed the FromRemote functions & friends because they were only maintaining the m_soentries structure that is never being used in this context. (I hope I'm not missing anything obvious here).
use a real type here.