- Oct 24, 2012
-
-
Enrico Granata authored
Changing the NSDate data formatter to use GetData().uint64[] instead of relying on SBValue.GetValueAsUnsigned() to reinterpret a double as a uint64_t llvm-svn: 166610
-
Greg Clayton authored
llvm-svn: 166608
-
Greg Clayton authored
llvm-svn: 166604
-
rdar://problem/12481949Enrico Granata authored
<rdar://problem/12481949> Fixing SBValue.GetValueAsSigned() to do the right thing when dealing with a 32-bit negative value llvm-svn: 166603
-
Greg Clayton authored
Cleanup some variable names to indicate auto pointers and also manager the llvm::Module memory more correctly. llvm-svn: 166598
-
Jason Molenda authored
expect eArgTypeFilename. llvm-svn: 166542
-
rdar://problem/12523238Enrico Granata authored
Changed all relevant test cases to verify that MightHaveChildren() works correctly for objects of interest Added a bunch of convenience methods for test cases to use: target(), process(), thread() and frame() which mimic the lldb.X convenience variables As a bonus, edited the documentation on the website to describe the new method available for synthetic children providers writers to implement! That's all folks! llvm-svn: 166535
-
Sean Callanan authored
There was a generic catch-all type for path arguments called "eArgTypePath," and a specialized version called "eArgTypeFilename." It turns out all the cases where we used eArgTypePath we could have used Filename or we explicitly meant a directory. I changed Path to DirectoryName, made it use the directory completer, and rationalized the uses of Path. <rdar://problem/12559915> llvm-svn: 166533
-
Enrico Granata authored
Better error message for invalid argument to --category - silenced the printout of the raw args when not in verbose mode llvm-svn: 166514
-
Greg Clayton authored
Objective C cleanup. Removed an cache that was no longer needed and changes the code that gets the dynamic type and class name to use our new Objective C cache. llvm-svn: 166512
-
Sean Callanan authored
llvm-svn: 166507
-
- Oct 23, 2012
-
-
rdar://problem/12523238Enrico Granata authored
Adding the new has_children (or MightHaveChildren() in C++) for the existing synthetic children providers In a few cases, the new call is going to be much more efficient than the previous num_children > 0 check When the optimization was marginal (e.g. std::vector<>), the choice was to use num_children in order to keep implementation details in one function instead of duplicating code Next step is to provide test cases llvm-svn: 166506
-
Jim Ingham authored
llvm-svn: 166502
-
rdar://problem/12523238Enrico Granata authored
This commit enables the new HasChildren() feature for synthetic children providers Namely, it hooks up the required bits and pieces so that individual synthetic children providers can implement a new (optional) has_children call Default implementations have been provided where necessary so that any existing providers continue to work and behave correctly Next steps are: 2) writing smart implementations of has_children for our providers whenever possible 3) make a test case llvm-svn: 166495
-
Jim Ingham authored
it to print the old and new values. Temporarily disable the "out of scope" checking since it didn't work correctly, and was not what people generally expected watchpoints to be doing. llvm-svn: 166472
-
Jason Molenda authored
the function's prologue instructions so we can re-instate that prologue if we hit an early return mid-function. Add some additional heuristics to differentiate between prologue and epilogue instruction sequences. This fixes the specific problem of correctly unwinding through a function which has an epilogue one instruction after the last prologue setup instruction has completed. <rdar://problem/12091139> llvm-svn: 166465
-
Jason Molenda authored
llvm-svn: 166464
-
Enrico Granata authored
llvm-svn: 166462
-
rdar://problem/12493007Greg Clayton authored
Added a new API call to help efficiently determine if a SBValue could have children: bool SBValue::MightHaveChildren (); This is inteneded to be used bui GUI programs that need to show if a SBValue needs a disclosure triangle when displaying a hierarchical type in a tree view without having to complete the type (by calling SBValue::GetNumChildren()) as completing the type is expensive. llvm-svn: 166460
-
Sean Callanan authored
options: - added help ("help language") listing the possible options; - added the possibility of synonyms for language names, in this case "ObjC" for "Objective-C"; and - made matching against language names case insensitive. This should improve discoverability. <rdar://problem/12552359> llvm-svn: 166457
-
-
Sean Callanan authored
of structures, and added a testcase. <rdar://problem/12551591> llvm-svn: 166450
-
Enrico Granata authored
llvm-svn: 166443
-
- Oct 22, 2012
-
-
rdar://problem/12524810Greg Clayton authored
Fixed a crasher where if an invalid SBTarget was passed to: lldb::addr_t SBAddress::GetLoadAddress (const SBTarget &target) const; We would crash. llvm-svn: 166439
-
rdar://problem/12479701Enrico Granata authored
<rdar://problem/12479701> Use the plain pydoc pager to work around Python help() pagination conflicts with our I/O management llvm-svn: 166432
-
rdar://problem/12437442Enrico Granata authored
Given our implementation of ValueObjects we could have a scenario where a ValueObject has a dynamic type of Foo* at one point, and then its dynamic type changes to Bar* If Bar* has synthetic children enabled, by the time we figure that out, our public API is already vending SBValues wrapping a DynamicVO, instead of a SyntheticVO and there was no trivial way for us to change the SP inside an SBValue on the fly This checkin reimplements SBValue in terms of a wrapper, ValueImpl, that allows this substitutions on-the-fly by overriding GetSP() to do The Right Thing (TM) As an additional bonus, GetNonSyntheticValue() now works, and we can get rid of the ForceDisableSyntheticChildren idiom in ScriptInterpreterPython Lastly, this checkin makes sure the synthetic VOs get the correct m_value and m_data from their parents (prevented summaries from working in some cases) llvm-svn: 166426
-
rdar://problem/12473003Greg Clayton authored
Allow type searches to specify a type keyword when searching for type. Currently supported type keywords are: struct, class, union, enum, and typedef. So now you can search for types with a string like "struct foo". llvm-svn: 166420
-
- Oct 20, 2012
-
-
Jason Molenda authored
users new to lldb are at the top. llvm-svn: 166381
-
Jason Molenda authored
Remove 'Customization', 'Documentation', and 'FAQ' pages from the sidebar's "USE AND EXTENSION" section. These pages have no content. If someone ever wants to add content to them, we can re-add them to the sidebar. llvm-svn: 166380
-
Sean Callanan authored
to be printed truncated. <rdar://problem/12389615> llvm-svn: 166368
-
Jason Molenda authored
the header file. (followup patch to Sean's commit of r166355 earlier today.) llvm-svn: 166365
-
Sean Callanan authored
and attaching APIs. llvm-svn: 166356
-
Sean Callanan authored
- Fixed a crash when the executable module couldn't be found. - Fixed a problem that made it impossible to attach to processes in the simulator using the SBTarget::Attach. llvm-svn: 166355
-
rdar://problem/12491387Greg Clayton authored
Added commands to the KDP plug-in that allow sending raw commands through the KDP protocol. You specify a command byte and a payload as ASCII hex bytes, and the packet is created with a valid header/sequenceID/length and sent. The command responds with a raw ASCII hex string that contains all bytes in the reply including the header. An example of sending a read register packet for the GPR on x86_64: (lldb) process plugin packet send --command 0x07 --payload 0100000004000000 llvm-svn: 166346
-
- Oct 19, 2012
-
-
Greg Clayton authored
Change the name of the variable used to detect if we are loading kexts to "load-kexts" instead of "disable-kext-loading" since the value is a boolean. This was requested by the person who requested the feature. It now defaults to true: (lldb) settings show plugin.dynamic-loader.darwin-kernel.load-kexts plugin.dynamic-loader.darwin-kernel.load-kexts (boolean) = true llvm-svn: 166315
-
Jason Molenda authored
Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page. llvm-svn: 166297
-
Greg Clayton authored
Rename "macosx-kernel" to "darwin-kernel" to match the filenames before anyone starts using the settings for this plug-in. llvm-svn: 166295
-
Greg Clayton authored
Added the infrastructure necessary for plug-ins to be able to add their own settings instead of having settings added to existing ones. In particular "target.disable-kext-loading" was added to "target" where it should actually be specific to the the dynamic loader plugin. Now the plug-in manager has the ability to create settings at the root level starting with "plugin". Each plug-in type can add new sub dictionaries, and then each plug-in can register a setting dictionary under its own short name. For example the DynamicLoaderDarwinKernel plug-in now registers a setting dictionary at: plugin dynamic-loader macosx-kernel (bool) disable-kext-loading To settings can be set using: (lldb) settings set plugin.dynamic-loader.macosx-kernel.disable-kext-loading true I currently only hooked up the DynamicLoader plug-ins, but the code is very easy to duplicate when and if we need settings for other plug-ins. llvm-svn: 166294
-
Jason Molenda authored
in a kernel debug session: settings set target.disable-kext-loading true <rdar://problem/12490623> llvm-svn: 166262
-
Jason Molenda authored
llvm-svn: 166259
-