llvm-project/lldb/source
Greg Clayton d1cf11a74d 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
2012-04-14 01:42:46 +00:00
..
API The API lock was getting dropped too soon in GetVariables. GetValueObjectForFrameVariable could run the target (to get dynamic values) and that requires the target lock. 2012-04-13 23:29:44 +00:00
Breakpoint No functionality changes, mostly cleanup. 2012-04-11 00:24:49 +00:00
Commands Added a new host function that allows us to run shell command and get the output from them along with the status and signal: 2012-04-14 01:42:46 +00:00
Core Cleaned up code that was getting SBData for an SBInstruction. 2012-04-11 21:13:31 +00:00
Expression Make sure frozen_sp for a ClangExpressionVariable 2012-04-12 16:58:26 +00:00
Host Added a new host function that allows us to run shell command and get the output from them along with the status and signal: 2012-04-14 01:42:46 +00:00
Interpreter Fixing a potential crasher where Python would assume we have no thread state while clearing out an SBDebugger which was acquiring input from the interactive interpreter 2012-04-04 17:31:29 +00:00
Plugins Added a new host function that allows us to run shell command and get the output from them along with the status and signal: 2012-04-14 01:42:46 +00:00
Symbol Added a mechanism for keeping track of where in 2012-04-13 00:10:03 +00:00
Target Added a new host function that allows us to run shell command and get the output from them along with the status and signal: 2012-04-14 01:42:46 +00:00
Utility Removed redundant isxdigit checks and added the ability to GetHexU8() so it can extract an 8 bit hex value if one is available. It will set EOF if "set_eof_on_fail" is true or if out of data. This allows a string decoder to grab a string without losing the last part of the packet with a packet like "414243,abc" (it can extract "ABC" and leave the file position set to the comma). 2012-04-07 00:42:53 +00:00
Makefile Patch from Jean-Daniel Dupas: 2010-07-12 23:14:00 +00:00
lldb-log.cpp Add a logging mode that takes a callback and flush'es to that callback. 2012-02-21 02:23:08 +00:00
lldb.cpp Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>: 2012-04-14 00:54:42 +00:00