summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-04-14 00:54:42 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-04-14 00:54:42 +0000
commit7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4 (patch)
tree2601b48f96604bbddfe29c1e5e7d22e81c83e378 /lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
parentc202b2809ac814bcae8553cd772ec4901fdb8441 (diff)
downloadbcm5719-llvm-7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4.tar.gz
bcm5719-llvm-7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4.zip
Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>:
Hello everyone, please find the attached patch for TOT and lldb-platform-work branch, which provides the following changes: - fixed a crash in the ProcessPOSIX constructor when an executable module object is not yet created. - added support for the multi instanciated FreeBSD platform objects (the local host and remote as example). - enabled the remote gdb plugin on FreeBSD. llvm-svn: 154724
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp')
-rw-r--r--lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
index fd5102682ee..19e332e2a51 100644
--- a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
+++ b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
@@ -120,10 +120,6 @@ ProcessFreeBSD::EnablePluginLogging(Stream *strm, Args &command)
ProcessFreeBSD::ProcessFreeBSD(Target& target, Listener &listener)
: ProcessPOSIX(target, listener)
{
- // FIXME: Putting this code in the ctor and saving the byte order in a
- // member variable is a hack to avoid const qual issues in GetByteOrder.
- ObjectFile *obj_file = GetTarget().GetExecutableModule()->GetObjectFile();
- m_byte_order = obj_file->GetByteOrder();
}
void
OpenPOWER on IntegriCloud