- May 17, 2013
-
-
rdar://problem/13893094Greg Clayton authored
Show variables that were in the debug info but optimized out. Also display a good error message when one of these variables get used in an expression. llvm-svn: 182066
-
Michael Sartain authored
Implement ObjectFileELF::GetModuleSpecifications(), and add PlatformLinux code to deal with unknown arch properties. CR: Greg Clayton llvm-svn: 182065
-
Michael Sartain authored
llvm-svn: 182064
-
Filipe Cabecinhas authored
llvm-svn: 182061
-
Enrico Granata authored
llvm-svn: 182060
-
Enrico Granata authored
Note in the documentation about the fact that Python callbacks can return a value and if that value is False, LLDB won’t stop at the breakpoint llvm-svn: 182059
-
- May 16, 2013
-
-
Jim Ingham authored
function call exception catching breakpoints. We need to force ourselves to stop in that case. <rdar://problem/13903801> llvm-svn: 182056
-
Daniel Malea authored
- resolves llvm.org/pr14806 Patch by Matthew Sorrels! llvm-svn: 182030
-
Sean Callanan authored
regions that aren't actually allocated in the process. This cache is used by the expression parser if the underlying process doesn't support memory allocation, to avoid needless repeated searches for unused address ranges. Also fixed a silly bug in IRMemoryMap where it would continue searching even after it found a valid region. <rdar://problem/13866629> llvm-svn: 182028
-
rdar://problem/13891604Greg Clayton authored
Fixed a 2 second delay when sending the 'k' (kill) packet that happened due to a race condition. llvm-svn: 182025
-
rdar://problem/11158023Enrico Granata authored
Make type summary add and breakpoint command add show an helpful prototype + argument reference when manually typing Python code for these elements llvm-svn: 181968
-
Greg Clayton authored
llvm-svn: 181948
-
- May 15, 2013
-
-
Ashok Thirumurthi authored
Fixed an xpass due to r181841 on Linux with gcc. Note that the clang variant contains to xfail, and r181841 is a fix for the test. llvm-svn: 181918
-
rdar://problem/13128331Greg Clayton authored
Fixed "target symbols add" to correctly extract all module specifications from a dSYM file that is supplied and match the symbol file to a current target module using the UUID values if they are available. This fixes the case where you add a dSYM file (like "foo.dSYM") which is for a renamed executable (like "bar"). In our case it was "mach_kernel.dSYM" which didn't match "mach_kernel.sys". llvm-svn: 181916
-
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
-