llvm-project/lldb/source/Plugins/Process/gdb-remote
Francis Ricci a030061c5b Use absolute module path when possible if sent in svr4 packets
Summary:
If the remote uses svr4 packets to communicate library info,
the LoadUnload tests will fail, as lldb only used the basename
for modules, causing problems when two modules have the same basename.

Using absolute path as sent by the remote will ensure that lldb
locates the module from the correct directory when there are overlapping
basenames. When debugging a remote process, LoadModuleAtAddress will still
fall back to using basename and module_search_paths, so we don't
need to worry about using absolute paths in this case.

Reviewers: ADodds, jasonmolenda, clayborg, ovyalov

Subscribers: lldb-commits, sas

Differential Revision: http://reviews.llvm.org/D19557

llvm-svn: 267741
2016-04-27 17:10:15 +00:00
..
CMakeLists.txt [cmake] Remove LLVM_NO_RTTI. 2015-09-03 08:46:55 +00:00
GDBRemoteCommunication.cpp Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
GDBRemoteCommunication.h Modify "platform connect" to connect to processes as well 2015-12-08 14:08:19 +00:00
GDBRemoteCommunicationClient.cpp Reset continue_after_async only if neither SIGINIT nor SIGSTOP received. 2016-04-08 20:44:28 +00:00
GDBRemoteCommunicationClient.h Use Process Plugin register indices when communicating with remote 2016-04-25 20:59:11 +00:00
GDBRemoteCommunicationServer.cpp Introduce a MainLoop class and switch llgs to use it 2015-07-13 10:44:55 +00:00
GDBRemoteCommunicationServer.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-24 01:08:35 +00:00
GDBRemoteCommunicationServerCommon.cpp Make lldb::endian::InlHostByteOrder() private. 2015-11-07 04:40:13 +00:00
GDBRemoteCommunicationServerCommon.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-24 01:08:35 +00:00
GDBRemoteCommunicationServerLLGS.cpp Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
GDBRemoteCommunicationServerLLGS.h [LLGS] Don't forward I/O when process is stopped 2015-11-27 13:33:29 +00:00
GDBRemoteCommunicationServerPlatform.cpp Pass socket scheme as part of debug server listen URL. 2016-02-03 22:02:43 +00:00
GDBRemoteCommunicationServerPlatform.h Modify "platform connect" to connect to processes as well 2015-12-08 14:08:19 +00:00
GDBRemoteRegisterContext.cpp Use Process Plugin register indices when communicating with remote 2016-04-25 20:59:11 +00:00
GDBRemoteRegisterContext.h The lldb side changes to go along with r255711 where a new 2015-12-18 00:45:35 +00:00
ProcessGDBRemote.cpp Use absolute module path when possible if sent in svr4 packets 2016-04-27 17:10:15 +00:00
ProcessGDBRemote.h Revert "Reduce code duplication in ProcessGDBRemote" 2016-04-07 08:16:10 +00:00
ProcessGDBRemoteLog.cpp Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
ProcessGDBRemoteLog.h Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
ThreadGDBRemote.cpp Changes to lldb and debugserver to reduce extraneous memory reads 2016-01-12 07:09:16 +00:00
ThreadGDBRemote.h Changes to lldb and debugserver to reduce extraneous memory reads 2016-01-12 07:09:16 +00:00