diff options
author | Johnny Chen <johnny.chen@apple.com> | 2012-04-14 00:54:42 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2012-04-14 00:54:42 +0000 |
commit | 7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4 (patch) | |
tree | 2601b48f96604bbddfe29c1e5e7d22e81c83e378 /lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | |
parent | c202b2809ac814bcae8553cd772ec4901fdb8441 (diff) | |
download | bcm5719-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.cpp | 4 |
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 |