- 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
-
-
Matt Kopec authored
llvm-svn: 184126
-
Matt Kopec authored
llvm-svn: 184104
-
- 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
-
- Jun 12, 2013
-
-
Daniel Malea authored
- clang emits incomplete DWARF information for structures referenced via typedef llvm-svn: 183846
-
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
-
- 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
-
rdar://problem/13779789Enrico Granata authored
Allow memory read -t to take persistent types (those defined with expression struct $....) llvm-svn: 183766
-
- Jun 08, 2013
-
-
Andrew Kaylor authored
llvm-svn: 183580
-
Andrew Kaylor authored
llvm-svn: 183578
-
- Jun 07, 2013
-
-
Ashok Thirumurthi authored
llvm-svn: 183569
-
Enrico Granata authored
Tweaking Daniel Malea's fixes to Makefile.rules to ensure that we correctly pass -stdlib=libstdc++ to clang when compiling as well as when linking Not doing this was causing link errors as clang was looking for libc++ symbols while linking against libstdc++ llvm-svn: 183482
-
Enrico Granata authored
llvm-svn: 183480
-
- Jun 06, 2013
-
-
Ashok Thirumurthi authored
that is patterned after its parent TestInferiorCrashing.py. - The xfail decorator limits the xfail to tool-chains that support this compiler option. - Included a TODO concerning the platform-specific behavior when 'next' is issued after a crash. - Toggling -fomit-frame-pointer results in an xpass as mentioned in pr15415. Thanks to Daniel for the review, and Samuel for the bug report and reproducer. llvm-svn: 183434
-
Ashok Thirumurthi authored
- For instance, allows 'gcc' to match x86-64-linux-gnu-gcc as required on some Debian builds. - Also adds doc-strings and a more consistent naming convention for related helpers. llvm-svn: 183415
-
rdar://problem/14064994Enrico Granata authored
Fixing a test case to correctly check that the class name has changed instead of relying on GetValueDidChange() llvm-svn: 183364
-
Sean Callanan authored
- Implemented the SExt instruction, and - eliminated redundant codepaths for constant handling. Added test cases. <rdar://problem/13244258> <rdar://problem/13955820> llvm-svn: 183344
-
- Jun 05, 2013
-
-
Daniel Malea authored
- one test case is due to llvm.org/pr16229 - other test case uses a Linux workaround for above by using os.fork() instead of subprocess module Patch by Andy Kaylor! llvm-svn: 183340
-
Daniel Malea authored
- specify compiler flag -stdlib=libstdc++ only if using clang (not supported in gcc) llvm-svn: 183333
-
rdar://problem/13125225Enrico Granata authored
Adding data formatters for std::set, std::multiset and std::multimap for libc++ The underlying data structure is the same as std::map, so this change is very minimal and mostly consists of test cases llvm-svn: 183323
-
Matt Kopec authored
llvm-svn: 183316
-
Andrew Kaylor authored
llvm-svn: 183281
-
rdar://problem/12582328Enrico Granata authored
If you want to define a formatter for "array of Foo of any size", ordinarily you would say -x "Foo \[[0-9]+\]" this checkin allows you to instead say "Foo[]" (or "Foo []") and LLDB will automatically create the regular expression and add the -x flag on your behalf llvm-svn: 183272
-
- Jun 03, 2013
-
-
Daniel Malea authored
- adding workaround recommended by Greg (-fno-limit-debug-info clang flag) - filed bug llvm.org/pr16214 against Clang llvm-svn: 183156
-
Matt Kopec authored
llvm-svn: 183139
-
- May 31, 2013
-
-
Daniel Malea authored
- should resolve remaining buildbot issues with debian/clang builder llvm-svn: 183044
-
rdar://problem/14035604Enrico Granata authored
Fixing an issue where formats would not propagate from parents to children in all cases Details follow: an SBValue has children and those are fetched along with their values Now, one calls SBValue::SetFormat() on the parent Technically, the format choices should propagate onto the children (see ValueObject::GetFormat()) But if the children values are already fetched, they won't notice the format change and won't update themselves This commit fixes that by making ValueObject::GetValueAsCString() check if any format change intervened from the previous call to the current one A test case is also added llvm-svn: 183030
-
Sean Callanan authored
<rdar://problem/14005311> llvm-svn: 183022
-
rdar://problem/11109316Enrico Granata authored
command script import now does reloads - for real If you invoke command script import foo and it detects that foo has already been imported, it will - invoke reload(foo) to reload the module in Python - re-invoke foo.__lldb_init_module This second step is necessary to ensure that LLDB does not keep cached copies of any formatter, command, ... that the module is providing Usual caveats with Python imports persist. Among these: - if you have objects lurking around, reloading the module won't magically update them to reflect changes - if module A imports module B, reloading A won't reload B These are Python-specific issues independent of LLDB that would require more extensive design work The --allow-reload (-r) option is maintained for compatibility with existing scripts, but is clearly documented as redundant - reloading is always enabled whether you use it or not llvm-svn: 182977
-
- May 30, 2013
-
-
Daniel Malea authored
- should address Debian test errors due to not being able to 'ps' directly llvm-svn: 182965
-
Daniel Malea authored
Improve TestExitDuringStep to verify thread behaviour during step-over, step-in in addition to step-inst Patch by Brian Minard! llvm-svn: 182961
-
Matt Kopec authored
llvm-svn: 182952
-
Matt Kopec authored
llvm-svn: 182943
-
Andrew Kaylor authored
llvm-svn: 182888
-
Andrew Kaylor authored
llvm-svn: 182887
-
- May 29, 2013
-
-
Ashok Thirumurthi authored
- The original test now passes on Linux with clang because a breakpoint is hit prior to evaluation of text_list, which improves text coverage. - The new test fails because 4 steps are requested, and only two occur prior to evaluation of text_list. --- Note that the loss of every second "next" command can be reproduced using lldb manually with this script. llvm-svn: 182860
-
Andrew Kaylor authored
llvm-svn: 182815
-
Andrew Kaylor authored
llvm-svn: 182813
-
Andrew Kaylor authored
Adding support for stopping all threads of multithreaded inferiors on Linux. Also adding multithreaded test cases. llvm-svn: 182809
-
- May 24, 2013
-
-
Sean Callanan authored
Scalar now can make itself signed if needed. <rdar://problem/13977632> llvm-svn: 182668
-