Copy the Linux implementation of GetLoadedModuleFileSpec()
and GetFileLoadAddress() into NativeProcessFreeBSD. This does not seem
to change anything at the moment but reducing the differences between
the plugins should help us in the long term.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
No objection, but maybe add a comment explaining the status of this implementation? Does/will NetBSD do the same?
Comment Actions
These are basically workarounds for dynamic linker bugs, when we're not able to get complete information via r_debug. If your dynamic linker (loader) behaves, then it's not surprising that they make no effect.
Implementing them is fine. It might be nice to also add some explicit tests for these functions (via lldb-server tests, perhaps). We should have done something like that when we were adding these in the first place, but we weren't so big on testing then...