- Apr 14, 2012
-
-
Greg Clayton authored
Added a new host function that allows us to run shell command and get the output from them along with the status and signal: Error Host::RunShellCommand (const char *command, const char *working_dir, int *status_ptr, int *signo_ptr, std::string *command_output_ptr, uint32_t timeout_sec); This will allow us to use this functionality in the host lldb_private::Platform, and also use it in our lldb-platform binary. It leverages the existing code in Host::LaunchProcess and ProcessLaunchInfo. llvm-svn: 154730
-
Sean Callanan authored
checking for LLDB mutex validity are static so that entries put in there actually persist between calls to error_check_mutex. llvm-svn: 154727
-
Jim Ingham authored
llvm-svn: 154710
-
- Apr 13, 2012
-
-
Jason Molenda authored
llvm-svn: 154650
-
Greg Clayton authored
Added more complete error checking for mutexes only for "Debug" builds where we always check if a mutex is valid prior to doing stuff with it. We also track when mutexes are initialized and destroyed and keep these in sets that can very subsequent pthread_mutex_XXX API calls. llvm-svn: 154637
-
- Apr 11, 2012
-
-
Greg Clayton authored
Cleaned up the Mutex::Locker and the ReadWriteLock classes a bit. Also cleaned up the GDBRemoteCommunication class to not have so many packet functions. Used the "NoLock" versions of send/receive packet functions when possible for a bit of performance. llvm-svn: 154458
-
- Apr 07, 2012
-
-
Jason Molenda authored
llvm-svn: 154252
-
Jason Molenda authored
nanoseconds in 32-bit expression would cause pthread_cond_timedwait to time out immediately. Add explicit casts to the TimeValue::TimeValue ctor that takes a struct timeval and change the NanoSecsPerSec etc constants defined in TimeValue to be uint64_t so any other calculations involving these should be promoted to 64-bit even when lldb is built for 32-bit. <rdar://problem/11204073>, <rdar://problem/11179821>, <rdar://problem/11194705>. llvm-svn: 154250
-
Jim Ingham authored
We sometimes need to be able to call functions (via Process::RunThreadPlan) from code run on the private state thread. To do that we have to spin up a temporary "private state thread" that will respond to events from the lower level process plugins. This check-in should work to do that, but it is still buggy. However, if you don't call functions on the private state thread, these changes make no difference. This patch also moves the code in the AppleObjCRuntime step-through-trampoline handler that might call functions (in the case where the debug server doesn't support the memory allocate/deallocate packet) out to a safe place to do that call. llvm-svn: 154230
-
- Apr 06, 2012
-
-
Bill Wendling authored
llvm-svn: 154148
-
- Apr 03, 2012
-
-
Bill Wendling authored
Use the path to the header file. Use an integer instead of NULL. And get rid of a superfluous 'default' label. llvm-svn: 153943
-
- Apr 01, 2012
-
-
Sean Callanan authored
llvm-svn: 153823
-
- Mar 31, 2012
-
-
Greg Clayton authored
llvm-svn: 153785
-
- Mar 29, 2012
-
-
Sean Callanan authored
llvm-svn: 153630
-
- Mar 24, 2012
-
-
Jason Molenda authored
llvm-svn: 153374
-
Johnny Chen authored
llvm-svn: 153365
-
- Mar 23, 2012
-
-
Greg Clayton authored
llvm-svn: 153298
-
- Mar 17, 2012
-
-
Jason Molenda authored
Remove unused entitlements plist from debugserver. llvm-svn: 152973
-
- Mar 16, 2012
-
-
Sean Callanan authored
llvm-svn: 152901
-
- Mar 15, 2012
-
-
rdar://problem/8196933Greg Clayton authored
Use the metadata in the dSYM bundle Info.plist to remap source paths when they keys are available. llvm-svn: 152836
-
rdar://11033946Han Ming Ong authored
Made sure that the root XPC service validate the right before starting the service. The right is created and authenticated by clients (in this case, lldb) and transferred over for validiation. llvm-svn: 152802
-
- Mar 14, 2012
-
-
Sean Callanan authored
llvm-svn: 152726
-
Jason Molenda authored
llvm-svn: 152689
-
- Mar 13, 2012
-
-
Greg Clayton authored
llvm-svn: 152606
-
Jason Molenda authored
llvm-svn: 152603
-
- Mar 10, 2012
-
-
Jason Molenda authored
llvm-svn: 152465
-
- Mar 09, 2012
-
-
Greg Clayton authored
llvm-svn: 152384
-
Jason Molenda authored
llvm-svn: 152353
-
- Mar 08, 2012
-
-
Greg Clayton authored
llvm-svn: 152294
-
Jason Molenda authored
shouldn't compile any of the XPC support code. Update macosx/Host.mm to use that define. Add a LLDB_DISABLE_PYTHON ifdef block around a new function in Core/FormatManager.cpp. <rdar://problem/10942125> llvm-svn: 152293
-
- Mar 07, 2012
-
-
rdar://10996650Han Ming Ong authored
Passed in the right number of parameters for CFDictionaryCreate llvm-svn: 152182
-
- Mar 06, 2012
-
-
Greg Clayton authored
llvm-svn: 152103
-
Greg Clayton authored
llvm-svn: 152088
-
- Mar 02, 2012
-
-
Greg Clayton authored
llvm-svn: 151948
-
Greg Clayton authored
llvm-svn: 151924
-
- Mar 01, 2012
-
-
Greg Clayton authored
llvm-svn: 151836
-
- Feb 29, 2012
-
-
Greg Clayton authored
"desktop" - build all binaries with XPC "desktop_no_xcp" - build all binaries with none of the XPC binaries "ios" - build all binaries with special iOS install settings. Bumped the Xcode project build version for lldb-118 and debugserver-169. llvm-svn: 151740
-
rdar://10950196Han Ming Ong authored
Returns true when there is any info retrieved. llvm-svn: 151678
-
- Feb 28, 2012
-
-
rdar://problem/10942472Han Ming Ong authored
Allows the debugger to put a more sensible prompt when debugging as root. llvm-svn: 151605
-
- Feb 27, 2012
-
-
Greg Clayton authored
so that we don't break it with code changes. After doing this I was able to fix the POSIX-DYLD plug-in so that it builds after recent ModuleSpec changes. llvm-svn: 151536
-