llvm-project/lldb/source/Core
Greg Clayton 5a31471e72 Added the ability to run expressions in any command. Expressions can be
inserted in commands by using backticks:

(lldb) memory read `$rsp-16` `$rsp+16`
(lldb) memory read  -c `(int)strlen(argv[0])` `argv[0]`

The result of the expression will be inserted into the command as a sort of
preprocess stage where this gets done first. We might need to tweak where this
preprocess stage goes, but it is very functional already.

Added ansi color support to the Debugger::FormatPrompt() so you can use things
like "${ansi.fg.blue}" and "${ansi.bold}" many more. This helps in adding 
colors to your prompts without needing to know the ANSI color code strings.

llvm-svn: 141948
2011-10-14 07:41:33 +00:00
..
Address.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
AddressRange.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
AddressResolver.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
AddressResolverFileLine.cpp Added a new option to the "source list" command that allows us to see where 2011-04-19 04:19:37 +00:00
AddressResolverName.cpp Removed namespace qualification from symbol queries. 2011-10-13 16:49:47 +00:00
ArchSpec.cpp The first part of a fix for being able to select an architecture slice from 2011-09-21 03:57:31 +00:00
Baton.cpp Don't print out the baton pointer value for simple Baton classes. 2011-06-21 20:47:20 +00:00
Broadcaster.cpp Cleaned up the the code that figures out the inlined stack frames given a 2011-10-01 00:45:15 +00:00
Communication.cpp Fixed an issue where even if the communication object had Clear() called on 2011-08-19 23:28:37 +00:00
Connection.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
ConnectionFileDescriptor.cpp Add support for platforms without sa_len to SocketAddress, and modify 2011-07-22 19:12:42 +00:00
ConnectionMachPort.cpp Improved the packet throughput when debugging with GDB remote by over 3x on 2011-06-17 01:22:15 +00:00
ConnectionSharedMemory.cpp Improved the packet throughput when debugging with GDB remote by over 3x on 2011-06-17 01:22:15 +00:00
ConstString.cpp Fixed up the comments in the headerdoc to match the current implementation 2011-09-12 03:55:58 +00:00
DataBufferHeap.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DataBufferMemoryMap.cpp Switch to using the S_ISDIR and S_ISREG sys/stat.h macros in 2011-07-08 00:38:03 +00:00
DataEncoder.cpp Forgot to write out the NULL terminator when putting C string value into 2011-09-01 18:13:54 +00:00
DataExtractor.cpp Fix preprocessor warnings for no newline at the end of the source files. 2011-10-12 00:53:29 +00:00
DataVisualization.cpp Renaming a bulk of method calls from Get() to something more descriptive 2011-09-09 23:33:14 +00:00
Debugger.cpp Added the ability to run expressions in any command. Expressions can be 2011-10-14 07:41:33 +00:00
Disassembler.cpp Added ClangNamespaceDecl * parameters to several 2011-10-12 02:08:07 +00:00
DynamicLoader.cpp The DynamicLoader plug-in instance now lives up in lldb_private::Process where 2011-02-16 04:46:07 +00:00
EmulateInstruction.cpp Created a std::string in the base StopInfo class for the description and 2011-06-04 01:26:29 +00:00
Error.cpp Python summary strings: 2011-07-15 02:26:42 +00:00
Event.cpp This patch captures and serializes all output being written by the 2011-05-02 20:41:46 +00:00
FileLineResolver.cpp Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
FileSpecList.cpp Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
FormatClasses.cpp Fix preprocessor warnings for no newline at the end of the source files. 2011-10-12 00:53:29 +00:00
FormatManager.cpp Fix preprocessor warnings for no newline at the end of the source files. 2011-10-12 00:53:29 +00:00
History.cpp I modified the StringMap that was being used to unique our debugger C strings 2011-06-09 22:34:34 +00:00
InputReader.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
InputReaderEZ.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
InputReaderStack.cpp Create new class, InputReaderStack, to better handle 2011-06-02 19:18:55 +00:00
Language.cpp Created lldb::LanguageType by moving an enumeration from the 2010-07-28 02:04:09 +00:00
Listener.cpp Cleaned up the the code that figures out the inlined stack frames given a 2011-10-01 00:45:15 +00:00
Log.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
Mangled.cpp I modified the StringMap that was being used to unique our debugger C strings 2011-06-09 22:34:34 +00:00
Module.cpp Removed namespace qualification from symbol queries. 2011-10-13 16:49:47 +00:00
ModuleChild.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
ModuleList.cpp Removed namespace qualification from symbol queries. 2011-10-13 16:49:47 +00:00
Opcode.cpp Added more functionality to the public API to allow for better 2011-09-26 07:11:27 +00:00
PluginManager.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
RegisterValue.cpp Fix a logic error caught by the static analyzer. 2011-08-12 01:22:56 +00:00
RegularExpression.cpp Add a new breakpoint type "break by source regular expression". 2011-09-21 01:17:13 +00:00
Scalar.cpp Fix a logic error caught by the static analyzer. 2011-08-11 19:12:10 +00:00
SearchFilter.cpp Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
Section.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
SourceManager.cpp Added ClangNamespaceDecl * parameters to several 2011-10-12 02:08:07 +00:00
State.cpp Centralized all of the format to c-string and to format character code inside 2011-06-23 21:22:24 +00:00
Stream.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
StreamAsynchronousIO.cpp This patch captures and serializes all output being written by the 2011-05-02 20:41:46 +00:00
StreamFile.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
StreamString.cpp Completed more work on the KDP darwin kernel debugging Process plug-in. 2011-07-16 03:19:08 +00:00
StringList.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
Timer.cpp Added a setting to "log timer" so you can see the incremental timings as well: 2010-11-04 23:19:21 +00:00
UUID.cpp Header patch, virtual dtor patch and missed UUID patch from Kirk Beitz. 2011-02-05 02:56:16 +00:00
UserID.cpp Move trivial parts of UserID into the header. 2010-06-22 10:44:12 +00:00
UserSettingsController.cpp Re-organized the contents of RangeMap.h to be more concise and also allow for a Range, RangeArray, RangeData (range + data), or a RangeDataArray. We have many range implementations in LLDB and I will be converting over to using the classes in RangeMap.h so we can have one set of code that does ranges and searching of ranges. 2011-10-07 18:58:12 +00:00
VMRange.cpp Added support for inlined stack frames being represented as real stack frames 2010-08-24 00:45:41 +00:00
Value.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ValueObject.cpp Stop empty C strings in summaries from showing "<data not available>" when a 2011-10-05 22:19:51 +00:00
ValueObjectChild.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectConstResult.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectConstResultChild.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectConstResultImpl.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectDynamicValue.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ValueObjectList.cpp Added the ability to see global variables with a variable expression path so 2011-07-08 21:46:14 +00:00
ValueObjectMemory.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ValueObjectRegister.cpp Fixed register value objects to be able to return their values as unsigned 2011-08-16 03:49:01 +00:00
ValueObjectSyntheticFilter.cpp - Now using ${var} as the summary for an aggregate type will produce "name-of-type @ object-location" instead of giving an error 2011-08-19 21:13:46 +00:00
ValueObjectVariable.cpp Fixed an issue where a variable whose value is in a register might end up 2011-10-01 01:53:20 +00:00