summaryrefslogtreecommitdiffstats
path: root/lldb
Commit message (Collapse)AuthorAgeFilesLines
* Fix Clang-tidy modernize-use-nullptr warnings in include/lldb/API and ↵Eugene Zelenko2015-10-319-429/+334
| | | | | | | | source/API; other minor fixes. Other fixes should reduce number of readability-redundant-smartptr-get and readability-implicit-bool-cast. llvm-svn: 251733
* Harden this test case to do the right thing in the face of compiler changesEnrico Granata2015-10-312-2/+8
| | | | llvm-svn: 251732
* Fix Clang-tidy modernize-use-override warnings in include/lldb/Expression, ↵Eugene Zelenko2015-10-317-155/+122
| | | | | | source/Expression and tools/lldb-mi; other minor fixes. llvm-svn: 251730
* Abstract the notion of the truth value of an expression result, for useJim Ingham2015-10-313-9/+37
| | | | | | in breakpoint conditions. llvm-svn: 251727
* Make the error return more explicit when an SBValue has no value.Jim Ingham2015-10-301-0/+3
| | | | llvm-svn: 251722
* Add a few missing includes.Jim Ingham2015-10-301-0/+2
| | | | llvm-svn: 251721
* Fix an error message (the debugger was invalid, not the target.)Jim Ingham2015-10-301-1/+1
| | | | llvm-svn: 251720
* Fix Clang-tidy modernize-use-nullptr warnings in source/Breakpoint; other ↵Eugene Zelenko2015-10-3011-209/+142
| | | | | | minor fixes. llvm-svn: 251716
* Remove 2 lines missed in earlier commit (r251636).Hafiz Abid Qadeer2015-10-301-2/+0
| | | | llvm-svn: 251704
* Mark another TestEvents test as flaky on linuxPavel Labath2015-10-301-0/+1
| | | | | | | I don't think anything has changed recently - the test was always flaky, but only very rarely. Still, it is causing noise in the buildbots. llvm-svn: 251699
* Make new dotest.py executablePavel Labath2015-10-301-0/+0
| | | | llvm-svn: 251684
* Added real editline tests.Todd Fiala2015-10-304-84/+382
| | | | | | | | | These are two simple tests that make sure single line and multiline content are processed and received by Editline.cpp. Fancier tests to come... llvm-svn: 251681
* Some test cases that need the lldbExec path were failing because lldbExec ↵Enrico Granata2015-10-301-1/+4
| | | | | | | | | | was turning out to be None even though it was being validly set by dotest.py It turns out that lldbtest_config was being imported locally to "lldbsuite.test" instead of globally, so when the test cases got individually brought by a global import via __import__ by unittest2, they did not see the lldbtest_config import, and ended up importing a new separate copy of it, with lldbExec unset This is a simple hackaround that brings lldbtest_config to global visibility and makes sure the configuration data is correctly shared llvm-svn: 251678
* Fix Clang-tidy modernize-use-nullptr warnings in ↵Eugene Zelenko2015-10-307-415/+449
| | | | | | source/Plugins/Process/Utility headers; other minor fixes. llvm-svn: 251676
* Fix Clang-tidy modernize-use-nullptr warnings in include/lldb/Symbol; other ↵Eugene Zelenko2015-10-3012-161/+196
| | | | | | minor fixes. llvm-svn: 251673
* Remove two #if0ed regions of code that we were using for an experiment but ↵Enrico Granata2015-10-291-14/+0
| | | | | | don't really want llvm-svn: 251670
* Add a --offset option to memory read that allows one to specify, given a ↵Enrico Granata2015-10-293-2/+24
| | | | | | type, how many sizeof(type) bytes to speak before starting to read memory llvm-svn: 251668
* Do not accept nullptr descriptions as valid summaries to be printedEnrico Granata2015-10-291-2/+7
| | | | llvm-svn: 251663
* Add a --language (-l) option to the formatter delete commands in order to ↵Enrico Granata2015-10-293-25/+100
| | | | | | | | | allow removing formatters from language categories This is slightly harder to test because formatters cannot be added to language categories, so deletions are irreversible (in a debugger run) I plan to add a test case soon, but I need to think about the right approach to obtain one llvm-svn: 251660
* Give the test class it's own name (it was reusing the name from ↵Jim Ingham2015-10-291-1/+1
| | | | | | TestCompletions.py). llvm-svn: 251657
* Fix Clang-tidy modernize-use-nullptr warnings in remaining files in ↵Eugene Zelenko2015-10-2910-203/+177
| | | | | | include/lldb/Target; other minor fixes. llvm-svn: 251648
* Fix Clang-tidy modernize-use-nullptr warnings in some files in ↵Eugene Zelenko2015-10-293-315/+251
| | | | | | include/lldb/Target; other minor fixes. llvm-svn: 251647
* Add an 'internal' kind of summary to support one-off subclasses of ↵Enrico Granata2015-10-292-3/+19
| | | | | | TypeSummaryImpl llvm-svn: 251642
* Better handle the arguments common to all MI commands.Hafiz Abid Qadeer2015-10-2920-142/+67
| | | | | | | | | | | | | | | | | | | | | | | | Summary: I observed that eclipse was passing --thread-group for many other commands then we are currently handling. Looking at the MI documentation, the following link states that each MI command accept the --thread and --frame option. Looking at the GDB implementation, it seems that apart from these 2, --thread-group is also handled the same way. https://sourceware.org/gdb/onlinedocs/gdb/Context-management.html#Context-management So instead of handling those arguments in every comamnds, I have moved them into the base class and removed them from elsewhere. Now any command can use these arguments. The patch seems big but most of the changes are mechanical. Reviewers: ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14177 llvm-svn: 251636
* Fixup lldb-argdumper cmake buildPavel Labath2015-10-291-1/+1
| | | | | | forgot to rename in one spot. llvm-svn: 251628
* Fix flakyness in TestChangeProcessGroupPavel Labath2015-10-291-3/+8
| | | | | | | | | | | The test was verifying that the pid of the child is not equal to its process group by searching for text substrings. This failed in the rare cases when the pid actually *was* a substring of the process group (even though they were not equal). Change the test to use SB API and do proper numeric comparisons. llvm-svn: 251626
* Rename argdumper to lldb-argdumperTodd Fiala2015-10-296-35/+35
| | | | | | http://reviews.llvm.org/D14169 llvm-svn: 251616
* Leave TestAttachResume as flakey on linuxPavel Labath2015-10-291-0/+1
| | | | | | there must be (at least) one more race hidden there... llvm-svn: 251590
* Correctly include LLVM_EXTERNAL_CLANG_SOURCE_DIR.Chaoren Lin2015-10-291-1/+5
| | | | | | | | | | Reviewers: sas, ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14166 llvm-svn: 251589
* Fix Clang-tidy modernize-use-nullptr warnings in include/lldb/Expression and ↵Eugene Zelenko2015-10-2914-175/+185
| | | | | | Host; other minor fixes. llvm-svn: 251587
* Xcode suggested enabling a "no common blocks" warningJason Molenda2015-10-2910-49/+84
| | | | | | | (whatever that is) and wanted to clean up some duplicated entries in the project files. llvm-svn: 251586
* Explicitly cast size_t var to (uint64_t) when printf format is PRIx64.Jason Molenda2015-10-291-2/+2
| | | | llvm-svn: 251585
* Static analyzer noticed that a null get_pending_items_caller couldJason Molenda2015-10-291-1/+7
| | | | | | be used. Guard against that. llvm-svn: 251584
* Fix potential null deref; after SymbolContextSpecifier::SymbolContextMatchesJason Molenda2015-10-281-1/+1
| | | | | | | has tested that sc.function is null, it would try to deref sc.function. It should be calling sc.symbol here. llvm-svn: 251583
* Remove an unused local variableEnrico Granata2015-10-281-1/+0
| | | | llvm-svn: 251581
* Revert r251578. I was in the middle of editing the commit messageJason Molenda2015-10-281-1/+1
| | | | | | | | | | | | | and decided to not commit the change, but accidentally committed it anyway. This was based on a static analysis complaint; it thought there was a code path where AdbClient::PushFile would call AdbClient::ReadSyncHeader and AdbClient::ReadSyncHeader wouldn't set data_len. But in that case, the Error object returned will be Fail and we won't use the data_len or response_id contents. llvm-svn: 251580
* Make sure we don't over specify an architecture when we connect to KDP and ↵Greg Clayton2015-10-283-26/+49
| | | | | | | | use the CPU type and subtype to fill out an architecture. We do this by letting the vendor be an unspecified unknown, or any. We also grab the target architecture, get the KDP host arch, and then merge the two before putting it back into the target. Also change MH_PRELOAD to be use "unspecified unknown" (any) for the OS and vendor since these mach files can really be anything. llvm-svn: 251579
* Initialize data_len to 0 in source/Plugins/Platform/Android/AdbClient.cppJason Molenda2015-10-281-1/+1
| | | | llvm-svn: 251578
* Change Target::EvaluateExpression to take an ExecutionContextScope * rather ↵Jim Ingham2015-10-284-4/+6
| | | | | | | | | | | | | | | | than a StackFrame * (StackFrame is an ExecutionContextScope.) That allows you to call an expression on a particular Thread, but not using the context of any particular frame. That in turn is useful for injecting utility functions that don't actually depend on locals/self/etc of the current frame. I also had to include StackFrame.h in a couple of places so the compiler knew how to downcast StackFrame to ExecutionContextScope. <rdar://problem/22852953> llvm-svn: 251564
* Remove unused SUN_LEN macro for Android.Oleksiy Vyalov2015-10-281-7/+0
| | | | llvm-svn: 251563
* Fix Clang-tidy modernize-use-nullptr warnings in remaining files in ↵Eugene Zelenko2015-10-2815-302/+197
| | | | | | include/lldb/Core; other minor fixes. llvm-svn: 251561
* Skip this test is the test suite is running in a mode where it has no ↵Enrico Granata2015-10-281-6/+9
| | | | | | WindowServer access llvm-svn: 251559
* Fix Clang-tidy modernize-use-nullptr warnings in some files in ↵Eugene Zelenko2015-10-286-212/+141
| | | | | | include/lldb/Core; other minor fixes. llvm-svn: 251556
* Don't crash when opening a fuzzed mach-o file that has bad dyld trie data.Greg Clayton2015-10-281-9/+17
| | | | | | <rdar://problem/21991784> llvm-svn: 251555
* Removed an unecessary code-signing phase on lldb-tool.Sean Callanan2015-10-281-14/+0
| | | | llvm-svn: 251550
* Add check for __main__ in dotest.py to ensure problems with multiprocessing ↵Adrian McCarthy2015-10-281-3/+4
| | | | | | on some Windows machines. llvm-svn: 251549
* Make lldb-gdbserver to take explicit socket scheme as command line argument.Oleksiy Vyalov2015-10-285-4/+31
| | | | | | http://reviews.llvm.org/D14126 llvm-svn: 251547
* Try to fix the linux buildbot.Zachary Turner2015-10-281-0/+2
| | | | | | | | It's complaining that it doesn't under the "import" command, so I guess I need this hashbang at the beginning so that it knows it's a Python script. llvm-svn: 251544
* Mark TestHelloWorld and TestInferiorAssert.py as XFAIL due llvm.org/pr25338.Oleksiy Vyalov2015-10-282-0/+6
| | | | llvm-svn: 251542
* Refactor Windows process plugin to allow code sharing between live and mini ↵Adrian McCarthy2015-10-2833-1764/+2063
| | | | | | dump debugging. llvm-svn: 251540
OpenPOWER on IntegriCloud