[Lldb-commits] [lldb] r178512 - Remove some unused code.
Jim Ingham
jingham at apple.com
Mon Apr 1 17:26:03 PDT 2013
Author: jingham
Date: Mon Apr 1 19:26:03 2013
New Revision: 178512
URL: http://llvm.org/viewvc/llvm-project?rev=178512&view=rev
Log:
Remove some unused code.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp?rev=178512&r1=178511&r2=178512&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp Mon Apr 1 19:26:03 2013
@@ -2222,19 +2222,6 @@ MachProcess::SBForkChildForPTraceDebuggi
std::string bundleID;
CFString::UTF8(bundleIDCFStr, bundleID);
- CFData argv_data(NULL);
-
- if (launch_argv.get())
- {
- if (argv_data.Serialize(launch_argv.get(), kCFPropertyListBinaryFormat_v1_0) == NULL)
- {
- DNBLogThreadedIf(LOG_PROCESS, "%s() error: failed to serialize launch arg array...", __FUNCTION__);
- return INVALID_NUB_PROCESS;
- }
- }
-
- DNBLogThreadedIf(LOG_PROCESS, "%s() serialized launch arg array", __FUNCTION__);
-
// Find SpringBoard
SBSApplicationLaunchError sbs_error = 0;
sbs_error = SBSLaunchApplicationForDebugging (bundleIDCFStr,
More information about the lldb-commits
mailing list