- Jun 18, 2013
-
-
rdar://problem/14134716Enrico Granata authored
This is a rewrite of the command history facility of LLDB It takes the history management out of the CommandInterpreter into its own CommandHistory class It reimplements the command history command to allow more combinations of options to work correctly (e.g. com hist -c 1 -s 5) It adds a new --wipe (-w) option to command history to allow clearing the history on demand It extends the lldbtest runCmd: and expect: methods to allow adding commands to history if need be It adds a test case for the reimplemented facility llvm-svn: 184140
-
- Jun 17, 2013
-
-
Enrico Granata authored
llvm-svn: 184127
-
Matt Kopec authored
llvm-svn: 184126
-
Sean Callanan authored
caused the IR interpreter not to work if the process had finished running. <rdar://problem/14124301> llvm-svn: 184125
-
Matt Kopec authored
llvm-svn: 184104
-
Michael Sartain authored
llvm-svn: 184094
-
Michael Sartain authored
Remove extra modules.Append() as it causes dupes in the m_images array. (Used with image list, etc.) llvm-svn: 184082
-
- Jun 15, 2013
-
-
Michael Sartain authored
llvm-svn: 184023
-
Rafael Espindola authored
llvm-svn: 184018
-
- Jun 14, 2013
-
-
Matt Kopec authored
Patch from Ed Maste. llvm-svn: 183998
-
Rafael Espindola authored
llvm-svn: 183991
-
Greg Clayton authored
- specify the architecture - specify the platform - specify if only external symbols should be dumped - specify if types in the function signatures should be canonicalized llvm-svn: 183961
-
Greg Clayton authored
llvm-svn: 183959
-
- Jun 13, 2013
-
-
Greg Clayton authored
Added a new makefile setting that can be set in LLDB makefiles: USE_LIBCPP. This will enable libc++ support. Improved the makefile "clean" to include deleting all ".d.[0-9]+" files. Added options to the "lldb/examples/lookup" example and made it build using the LLDB_BUILD_DIR. If this is not set, it will default to "/Applications/Xcode.app/Contents/SharedFrameworks" on Darwin. Added options to the "lldb/examples/function" example and made it build using the LLDB_BUILD_DIR. llvm-svn: 183949
-
Greg Clayton authored
llvm-svn: 183948
-
Rafael Espindola authored
llvm-svn: 183946
-
Rafael Espindola authored
llvm-svn: 183936
-
Greg Clayton authored
Be sure to print out the full file path when dumping breakpoint resolvers for file and line when the full path was specified. llvm-svn: 183932
-
Rafael Espindola authored
llvm-svn: 183929
-
Greg Clayton authored
Added some new example code that can grab all functions from any executable, and it will print out the function name, range, return type and argument types. This example shows someone could iterate over all functions and do something intelligent with them, like create function signatures. Then two different builds could be compared to verify the API hasn't changed. llvm-svn: 183923
-
Sylvestre Ledru authored
llvm-svn: 183911
-
- Jun 12, 2013
-
-
Rafael Espindola authored
llvm-svn: 183862
-
Daniel Malea authored
- clang emits incomplete DWARF information for structures referenced via typedef llvm-svn: 183846
-
Ashok Thirumurthi authored
llvm-svn: 183832
-
rdar://problem/11914077Enrico Granata authored
If you type help command <word> <word> <word> <missingSubCommand> (e.g. help script import or help type summary fake), you will get help on the deepest matched command word (i.e. script or type summary in the examples) Also, reworked the logic for commands to produce their help to make it more object-oriented llvm-svn: 183822
-
Greg Clayton authored
325,000 breakpoints for running "breakpoint set --func-regex ." on lldb itself (after hitting a breakpoint at main so that LLDB.framework is loaded) used to take up to an hour to set, now we are down under a minute. With warm file caches, we are at 40 seconds, and that is with setting 325,000 breakpoint through the GDB remote API. Linux and the native debuggers might be faster. I haven't timed what how much is debug info parsing and how much is the protocol traffic to/from GDB remote. That there were many performance issues. Most of them were due to storing breakpoints in the wrong data structures, or using the wrong iterators to traverse the lists, traversing the lists in inefficient ways, and not optimizing certain function name lookups/symbol merges correctly. Debugging after that is also now very efficient. There were issues with replacing the breakpoint opcodes in memory that was read, and those routines were also fixed. llvm-svn: 183820
-
rdar://problem/13299214Enrico Granata authored
Make the error message here more interesting for the user llvm-svn: 183818
-
Enrico Granata authored
llvm-svn: 183814
-
Daniel Malea authored
- skip the attach cases in TestRegisters.py -- caused slowness/sigabrt - fixed log file removal function (in case test is run with -# flag) llvm-svn: 183812
-
Enrico Granata authored
- exposing new accessors: formats/format, ..., that allow you to iterate over all formatters e.g. sys_category = lldb.debugger.GetCategory("system").summary['char *'] - ensuring that C++-based synthetic children provider can at least print their description accurately, if nothing else llvm-svn: 183805
-
rdar://problem/13646047Enrico Granata authored
Providing a Python helper SBData.CreateDataFromInt() to make an SBData out of a single integer number It tries to use the current target, if any, for endianness and pointer size, and it picks a reasonable size on your behalf - if there is no way it can infer anything reasonable it essentially picks a 64-bit Mac as the reference model llvm-svn: 183793
-
- Jun 11, 2013
-
-
Greg Clayton authored
Use llvm::APFloat for formatting if a target is available. Each target when debugging has a "ASTContext" that helps us to use the correct floating point semantics. Now that APFloat supports toString we now use that. If we don't have a target, we still fall back on the old display methodology, but the important formatting should always have a target available and thus use the compiler floating point code. Modified the test programs to use floating point constants that always will display correctly. We had some numbers that were being rounded, and now that we are using clang, we no longer round them and we get more correct results. llvm-svn: 183792
-
Enrico Granata authored
llvm-svn: 183774
-
rdar://problem/13759177Enrico Granata authored
Allowing LLDB to resolve names of Python functions when they are located in classes This allows things like *bound* classmethods to be used for formatters, commands, ... llvm-svn: 183772
-
rdar://problem/13779789Enrico Granata authored
Allow memory read -t to take persistent types (those defined with expression struct $....) llvm-svn: 183766
-
Greg Clayton authored
Remove eFormatHalfFloat as it isn't needed. eFormatFloat should be used and the byte size will tell us how to display it. llvm-svn: 183755
-
rdar://problem/12876503Enrico Granata authored
Adding a new setting interpreter.stop-command-source-on-error that dictates a default behavior for whether command source should stop upon hitting an error You can still override the setting for each individual invocation with the usual -e setting llvm-svn: 183719
-
rdar://problem/12783351Enrico Granata authored
Add support for half-floats, as specified by IEEE-754-2008 With this checkin, you can now say: (lldb) x/7hf foo to read 7 half-floats at address foo llvm-svn: 183716
-
Enrico Granata authored
llvm-svn: 183707
-
rdar://problem/14101771Enrico Granata authored
Hardening the CFBitVector data formatter against failed reads llvm-svn: 183706
-