Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 12:07:34 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254851 - in head/contrib/llvm/tools/lldb/source: . Plugins/Process/gdb-remote
Message-ID:  <201308251207.r7PC7YpQ057074@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sun Aug 25 12:07:34 2013
New Revision: 254851
URL: http://svnweb.freebsd.org/changeset/base/254851

Log:
  Disable lldb target support not (currently) of interest
  
  - Remote iOS debugging
  - OS X symbol provider, core files
  - PECOFF object files
  - Linux platform support
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  head/contrib/llvm/tools/lldb/source/lldb.cpp

Modified: head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
==============================================================================
--- head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp	Sun Aug 25 12:02:20 2013	(r254850)
+++ head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp	Sun Aug 25 12:07:34 2013	(r254851)
@@ -57,7 +57,6 @@
 #include "lldb/Host/Host.h"
 #include "Plugins/Process/Utility/InferiorCallPOSIX.h"
 #include "Plugins/Process/Utility/StopInfoMachException.h"
-#include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h"
 #include "Utility/StringExtractorGDBRemote.h"
 #include "GDBRemoteRegisterContext.h"
 #include "ProcessGDBRemote.h"
@@ -1809,6 +1808,7 @@ ProcessGDBRemote::DoDestroy ()
     if (log)
         log->Printf ("ProcessGDBRemote::DoDestroy()");
 
+#if 0 // XXX Currently no iOS target support on FreeBSD
     // There is a bug in older iOS debugservers where they don't shut down the process
     // they are debugging properly.  If the process is sitting at a breakpoint or an exception,
     // this can cause problems with restarting.  So we check to see if any of our threads are stopped
@@ -1912,6 +1912,7 @@ ProcessGDBRemote::DoDestroy ()
             }
         }
     }
+#endif
     
     // Interrupt if our inferior is running...
     int exit_status = SIGABRT;

Modified: head/contrib/llvm/tools/lldb/source/lldb.cpp
==============================================================================
--- head/contrib/llvm/tools/lldb/source/lldb.cpp	Sun Aug 25 12:02:20 2013	(r254850)
+++ head/contrib/llvm/tools/lldb/source/lldb.cpp	Sun Aug 25 12:07:34 2013	(r254851)
@@ -29,7 +29,6 @@
 #include "Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h"
 #include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
 #include "Plugins/Instruction/ARM/EmulateInstructionARM.h"
-#include "Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h"
 #include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h"
 #include "Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h"
 #include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
@@ -38,10 +37,8 @@
 #include "Plugins/SymbolFile/Symtab/SymbolFileSymtab.h"
 #include "Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h"
 #include "Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h"
-#include "Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h"
 #include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
 #include "Plugins/Platform/FreeBSD/PlatformFreeBSD.h"
-#include "Plugins/Platform/Linux/PlatformLinux.h"
 #include "Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h"
 #ifndef LLDB_DISABLE_PYTHON
 #include "Plugins/OperatingSystem/Python/OperatingSystemPython.h"
@@ -60,8 +57,6 @@
 #include "Plugins/Platform/MacOSX/PlatformiOSSimulator.h"
 #endif
 
-#include "Plugins/Process/mach-core/ProcessMachCore.h"
-
 #if defined(__linux__) or defined(__FreeBSD__)
 #include "Plugins/Process/elf-core/ProcessElfCore.h"
 #endif
@@ -109,10 +104,8 @@ lldb_private::Initialize ()
         UnwindAssemblyInstEmulation::Initialize();
         UnwindAssembly_x86::Initialize();
         EmulateInstructionARM::Initialize ();
-        ObjectFilePECOFF::Initialize ();
         DynamicLoaderPOSIXDYLD::Initialize ();
         PlatformFreeBSD::Initialize();
-        PlatformLinux::Initialize();
         SymbolFileDWARFDebugMap::Initialize();
         ItaniumABILanguageRuntime::Initialize();
 #ifndef LLDB_DISABLE_PYTHON
@@ -130,8 +123,6 @@ lldb_private::Initialize ()
         ObjectContainerUniversalMachO::Initialize();
         ObjectFileMachO::Initialize();
         ProcessKDP::Initialize();
-        ProcessMachCore::Initialize();
-        SymbolVendorMacOSX::Initialize();
         PlatformDarwinKernel::Initialize();
         PlatformRemoteiOS::Initialize();
         PlatformMacOSX::Initialize();
@@ -193,10 +184,8 @@ lldb_private::Terminate ()
     UnwindAssembly_x86::Terminate();
     UnwindAssemblyInstEmulation::Terminate();
     EmulateInstructionARM::Terminate ();
-    ObjectFilePECOFF::Terminate ();
     DynamicLoaderPOSIXDYLD::Terminate ();
     PlatformFreeBSD::Terminate();
-    PlatformLinux::Terminate();
     SymbolFileDWARFDebugMap::Terminate();
     ItaniumABILanguageRuntime::Terminate();
 #ifndef LLDB_DISABLE_PYTHON
@@ -210,9 +199,7 @@ lldb_private::Terminate ()
     AppleObjCRuntimeV1::Terminate();
     ObjectContainerUniversalMachO::Terminate();
     ObjectFileMachO::Terminate();
-    ProcessMachCore::Terminate();
     ProcessKDP::Terminate();
-    SymbolVendorMacOSX::Terminate();
     PlatformMacOSX::Terminate();
     PlatformDarwinKernel::Terminate();
     PlatformRemoteiOS::Terminate();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308251207.r7PC7YpQ057074>