- Aug 10, 2010
-
-
Jim Ingham authored
Arrange that this then gets properly set on attach, or when a "file" is set. Add a completer for "process attach -n". Caveats: there isn't currently a way to handle multiple processes with the same name. That will have to wait on a way to pass annotations along with the completion strings. llvm-svn: 110624
-
Johnny Chen authored
the TestBase. Modified TestArrayTypes.py to use the assert messages. Other files to follow. llvm-svn: 110611
-
- Aug 09, 2010
-
-
Johnny Chen authored
llvm-svn: 110595
-
Sean Callanan authored
instead of "alias." Also fixed a bunch of indentation in the help for "commands alias." llvm-svn: 110585
-
- Aug 07, 2010
-
-
Johnny Chen authored
llvm-svn: 110497
-
Johnny Chen authored
whole test suite. llvm-svn: 110487
-
- Aug 06, 2010
-
-
Johnny Chen authored
llvm-svn: 110470
-
Sean Callanan authored
made IR-based expression evaluation the default. Also added a new class to hold persistent variables. The class is empty as yet while I write up a design document for what it will do. Also the place where it is currently created (by the Expression command) is certainly wrong. llvm-svn: 110415
-
Sean Callanan authored
SWIG wrappers on a non-internal SnowLeopard system. llvm-svn: 110413
-
Sean Callanan authored
breaking the build for me on a non-internal SnowLeopard system. llvm-svn: 110412
-
Johnny Chen authored
llvm-svn: 110400
-
Johnny Chen authored
backported to Python 2.3+. Some of the features desired include better verbose reporting in unittest2.TextTestRunner and decorator support for skipping tests and expected failures. http://pypi.python.org/pypi/unittest2 o Modified the existing .py tests to use unittest2 and decorated TestSTL.test_step_into_stl(), which is known to always fail currently, with @unittest2.expectedFailure. llvm-svn: 110397
-
- Aug 05, 2010
-
-
Johnny Chen authored
because unittest.main() calls sys.exit() before returning. Fixed by registering an exit handler for this situation. llvm-svn: 110379
-
Greg Clayton authored
llvm-svn: 110299
-
Greg Clayton authored
Added functionality to our API for SBType. This will allow users to eventually find and peruse static type information from modules. llvm-svn: 110298
-
Greg Clayton authored
Added functionality to our API for SBType. This will allow users to eventually find and peruse static type information from modules. llvm-svn: 110297
-
- Aug 04, 2010
-
-
Greg Clayton authored
This will allow debugger plug-ins to make any instance of "lldb_private::StopInfo" that can completely describe any stop reason. It also provides a framework for doing intelligent things with the stop info at important times in the lifetime of the inferior. Examples include the signal stop info in StopInfoUnixSignal. It will check with the process to see that the current action is for the signal. These actions include wether to stop for the signal, wether the notify that the signal was hit, and wether to pass the signal along to the inferior process. The StopInfoUnixSignal class overrides the "ShouldStop()" method of StopInfo and this allows the stop info to determine if it should stop at the signal or continue the process. StopInfo subclasses must override the following functions: virtual lldb::StopReason GetStopReason () const = 0; virtual const char * GetDescription () = 0; StopInfo subclasses can override the following functions: // If the subclass returns "false", the inferior will resume. The default // version of this function returns "true" which means the default stop // info will stop the process. The breakpoint subclass will check if // the breakpoint wants us to stop by calling any installed callback on // the breakpoint, and also checking if the breakpoint is for the current // thread. Signals will check if they should stop based off of the // UnixSignal settings in the process. virtual bool ShouldStop (Event *event_ptr); // Sublasses can state if they want to notify the debugger when "ShouldStop" // returns false. This would be handy for breakpoints where you want to // log information and continue and is also used by the signal stop info // to notify that a signal was received (after it checks with the process // signal settings). virtual bool ShouldNotify (Event *event_ptr) { return false; } // Allow subclasses to do something intelligent right before we resume. // The signal class will figure out if the signal should be propagated // to the inferior process and pass that along to the debugger plug-ins. virtual void WillResume (lldb::StateType resume_state) { // By default, don't do anything } The support the Mach exceptions was moved into the lldb/source/Plugins/Process/Utility folder and now doesn't polute the lldb_private::Thread class with platform specific code. llvm-svn: 110184
-
Sean Callanan authored
including superclass members. This involved ensuring that access control was ignored, and ensuring that the operands of BitCasts were properly scanned for variables that needed importing. Also laid the groundwork for declaring objects of custom types; however, this functionality is disabled for now because of a potential loop in ASTImporter. llvm-svn: 110174
-
Johnny Chen authored
llvm-svn: 110160
-
- Aug 03, 2010
-
-
Greg Clayton authored
llvm-svn: 110093
-
Greg Clayton authored
involved watching for the objective C built-in types in DWARF and making sure when we convert the DWARF types into clang types that we use the appropriate ASTContext types. Added a way to find and dump types in lldb (something equivalent to gdb's "ptype" command): image lookup --type <TYPENAME> This only works for looking up types by name and won't work with variables. It also currently dumps out verbose internal information. I will modify it to dump more appropriate user level info in my next submission. Hookup up the "FindTypes()" functions in the SymbolFile and SymbolVendor so we can lookup types by name in one or more images. Fixed "image lookup --address <ADDRESS>" to be able to correctly show all symbol context information, but it will only show this extra information when the new "--verbose" flag is used. Updated to latest LLVM to get a few needed fixes. llvm-svn: 110089
-
Sean Callanan authored
of profiling code into expressions. Modified IRForTarget to emit array and record member accesses correctly. (Reading and writing both work.) llvm-svn: 110088
-
- Aug 02, 2010
-
-
Johnny Chen authored
llvm-svn: 110066
-
Johnny Chen authored
llvm-svn: 110064
-
- Jul 31, 2010
-
-
Sean Callanan authored
call Objective-C methods from expressions. Also added some more logging to the function-calling thread plan so that we can see the registers when a function finishes. Also documented things maybe a bit better. llvm-svn: 109938
-
Greg Clayton authored
launch it due to not being able to get the task port. A SIGHUP was killing us and also an error string wasn't properly being passed along. Got rid of a class error variable that can only lead to multi-threaded crashes. llvm-svn: 109930
-
Johnny Chen authored
Change the prototype of ScriptInterpreter::ExecuteOneLine() to return bool instead of void and take one additional parameter as CommandReturnObject *. Propagate the status of one-liner execution back appropriately. llvm-svn: 109899
-
- Jul 30, 2010
-
-
Greg Clayton authored
llvm-svn: 109887
-
Greg Clayton authored
Added "void Clear();" methods to SBDebugger, SBTarget and SBThread so they can release their shared pointers. llvm-svn: 109882
-
- Jul 29, 2010
-
-
Johnny Chen authored
llvm-svn: 109806
-
Johnny Chen authored
llvm-svn: 109803
-
Greg Clayton authored
llvm-svn: 109802
-
Greg Clayton authored
llvm-svn: 109798
-
Greg Clayton authored
Fixed "void *ClangASTContext::CreatePointerType (void *clang_type);" to return objective C pointers for clang::Type::TypeClass types that are "clang::Type::ObjCObject" and "clang::Type::ObjCInterface" . llvm-svn: 109795
-
Johnny Chen authored
llvm-svn: 109794
-
Greg Clayton authored
parens and to have a space before the value. Before: (lldb) expr 3 + 1 int4 (lldb) expr 3 + 1 (int) 4 llvm-svn: 109793
-
Sean Callanan authored
code model with the JIT. llvm-svn: 109792
-
Johnny Chen authored
llvm-svn: 109712
-
Johnny Chen authored
llvm-svn: 109678
-
- Jul 28, 2010
-
-
Johnny Chen authored
This test case currently always fails. llvm-svn: 109674
-