- May 15, 2013
-
-
Daniel Malea authored
- s/skipOnLinux/skipIfLinux/ to match style of every other decorator - linkify bugizilla/PR numbers in comments No intended change in functionality. llvm-svn: 181913
-
Jim Ingham authored
llvm-svn: 181911
-
Daniel Malea authored
- "platform process list" command works on Linux now - "process attach -n" (attach to process by name also works on Linux now) llvm-svn: 181905
-
Daniel Malea authored
- read process information from /proc - resolves llvm.org/pr14541 :) Patch by Mike Sartain! llvm-svn: 181904
-
Daniel Malea authored
Revert r181833: lldb prompt issue still occurs on buildbot (http://lab.llvm.org:8011/builders/lldb-x86_64-linux/builds/4124) - maybe consider checking in the 'good' version of libedit to avoid ancient system version llvm-svn: 181903
-
Daniel Malea authored
- filed llvm.org/pr16016 - fixed URL for llvm.org/pr16000 llvm-svn: 181902
-
Daniel Malea authored
- newlines from GetRepositoryPath output were interfering with ninja builds - replace newlines with spaces - remove *only* trailing spaces from repo path llvm-svn: 181899
-
Sylvestre Ledru authored
llvm-svn: 181885
-
Sylvestre Ledru authored
llvm-svn: 181876
-
rdar://problem/13883385Enrico Granata authored
Python breakpoint actions can return False to say that they don't want to stop at the breakpoint to which they are associated Almost all of the work to support this notion of a breakpoint callback was in place, but two small moving parts were missing: a) the SWIG wrapper was not checking the return value of the script b) when passing a Python function by name, the call statement was dropping the return value of the function This checkin addresses both concerns and makes this work Care has been taken that you only keep running when an actual value of False has been returned, and that any other value (None included) means Stop! llvm-svn: 181866
-
Jim Ingham authored
process StopLocker (if there is a process) before it will hand out SBValues. We were doing this in an ad hoc fashion previously, and then playing whack-a-mole whenever we found a place where we should have been doing this but weren't. Really, it doesn't make sense to be poking at SBValues when the target is running, the dynamic and synthetic values can't really be computed, and the underlying memory may be incoherent. <rdar://problem/13819378> Sometimes when stepping fast, my inferior is killed by debugserver llvm-svn: 181863
-
Jim Ingham authored
Don’t pop the process input reader for a “stop” event if ShouldBroadcastEvent has restarted the process. llvm-svn: 181859
-
Jim Ingham authored
llvm-svn: 181858
-
Jim Ingham authored
llvm-svn: 181857
-
rdar://problem/13892319Greg Clayton authored
The command "po" by itself yields odd errors. I fixed the alias. llvm-svn: 181856
-
rdar://problem/13821289Enrico Granata authored
Changes to the libc++ std::string data formatter llvm-svn: 181855
-
Greg Clayton authored
A first pass at auto completion for variables and their children. This is currently hooked up for "frame variable" only. With a little work we can also enable it for the "expression" command and also for other things. llvm-svn: 181850
-
Greg Clayton authored
llvm-svn: 181845
-
rdar://problem/13748253Greg Clayton authored
Combine N_GSYM stab entries with their non-stab counterpart (data symbols) to make the symbol table smaller with less duplicate named symbols. llvm-svn: 181841
-
Greg Clayton authored
Fixed the test case to pass on Darwin. This might pass on linux as well. The test case now properly validates g_points as a global for the class A version, and the static variable for the file static. llvm-svn: 181840
-
- May 14, 2013
-
-
Daniel Malea authored
- unable to repro locally, much like many people commenting on the issue llvm-svn: 181833
-
Daniel Malea authored
- fix typo initializing unique_ptr - add missing throw specifier to play nice with older libstdc++ exception class llvm-svn: 181831
-
Daniel Malea authored
- older versions of clang are unable to include <chrono> from libstdc++ - skipping tests until buildbots are updated llvm-svn: 181829
-
Daniel Malea authored
- test_breakpoint_callback -- filed llvm.org/pr-16000 - test_listener_resume -- resume a process from a thread waiting on SBListener - test_listener_event_description -- SBEvent description from SBListener thread - test_listener_event_process -- query process/thread/stack info from SBListener thread llvm-svn: 181819
-
Matt Kopec authored
llvm-svn: 181818
-
rdar://problem/13764135Greg Clayton authored
The "lldb" driver was interfering with STDOUT and STDERR if the output was over 1024 charcters long. The output was grabbing 1024 characters at a time, before it output the characters, it was writing characters to the screen to clear the current line. This has been fixed. I also fixed the command interpreter from mixing the "(lldb) " prompt in with program output by always manually checking for program output. This was done by having the command interpreter know when it is in the middle of executing a command by setting a bool. This was needed since sometimes when a command would run the target, like with a command like 'expression (int)printf("hello\n")', the process would push a new input reader, and then pop it when it was done. This popping of the input reader would cause the command interpreter to get sent a reactivated message (from the private process state thread) and cause it to ask for another command, even though we were still in the middle of the command ('expression (int)printf("hello\n")'). Now we set a bool to true, run the command and set the bool to false. If we get reactivated while we are in the middle of a command, we don't say we are ready for a new command. This coupled with emitting the STDOUT/STDERR first after each command, followed by the command results, followed by then saying we are ready for a new command, should help cleanup the command line output on all platforms. llvm-svn: 181807
-
Daniel Malea authored
Fix inline stepping test case on Linux because Thread::ThreadStoppedForAReason ignored virtual steps. - add IsVirtualStep() virtual function to ThreadPlan, and implement it for ThreadPlanStepInRange - make GetPrivateStopReason query the current thread plan for a virtual stop to decide if the current stop reason needs to be preserved - remove extra check for an existing process in GetPrivateStopReason llvm-svn: 181795
-
Ashok Thirumurthi authored
llvm-svn: 181789
-
Jason Molenda authored
Most importantly, have DoReadGPR/DoReadFPU/DoReadEXC return -1 to indicate failure if they're called. Else these could override the Error setting for the relevant thread state -- if the core file didn't include a floating point thread state, for instance, these functions would clear the Error setting for that register set and lldb would display random bytes as those registers' contents. <rdar://problem/13665075> llvm-svn: 181757
-
Jason Molenda authored
in one large block - and be sure toget the fpscr value as well when processing a core file. llvm-svn: 181756
-
Jason Molenda authored
of arm Mach-O core files. <rdar://problem/13665075> llvm-svn: 181755
-
Andrew Kaylor authored
llvm-svn: 181742
-
Matt Kopec authored
llvm-svn: 181741
-
- May 13, 2013
-
-
Daniel Malea authored
llvm-svn: 181739
-
Ashok Thirumurthi authored
- Also refactors TestRegisters.py because test_convenience_registers_with_process_attach now fails with an assert. TODO: Cross-reference the skipOnLinux decorator with a bugzilla report after root-causing this issue. llvm-svn: 181737
-
Daniel Malea authored
- should fix automatic tests set up on http://llvm-jenkins.debian.net - needed in order to make Debian package builds depend on passing test suite llvm-svn: 181736
-
Daniel Malea authored
llvm-svn: 181735
-
Ashok Thirumurthi authored
- Also improved test coverage for passing tests to include expr/x and a sanity check for $eax as the lower half of $rax. llvm-svn: 181727
-
Daniel Malea authored
- added missing ConstString header - moved "using lldb*" statements to OS-independent section llvm-svn: 181724
-
Matt Kopec authored
Patch by Mike Sartain. llvm-svn: 181722
-