- Dec 07, 2012
-
-
Andrew Kaylor authored
Set ThreadPlanCallFunction to private in ConstructorSetup. This fixes a problem on Linux where 'continue' was misfiring after an expression evaluation when stopped at a breakpoint. The problem was that InferiorCallMmap was not setting its ThreadPlanCallFunction to private and so the completion of that thread plan appeared to be the stop reason and therefore the 'continue' operation failed to step over the breakpoint. The SetPrivate call is being put in ThreadPlanCallFunction rather than InferiorCallMmap to make the solution more general. llvm-svn: 169618
-
Andrew Kaylor authored
Fix Test11588.py on Linux. The test was failing because the synthetic type fields were resolving to int instead of long. A similar change was made in r155144 to eliminate the type specification for an earlier check in this test, so it seemed appropriate here too. llvm-svn: 169615
-
Jim Ingham authored
Separate initing the stdout/stderr for running the Python Script interpreter from initing the lldb.target/frame/etc globals, and only do the latter when it makes sense to. <rdar://problem/12554049> llvm-svn: 169614
-
Jim Ingham authored
Take the Target API lock before letting the Python code start to work constructing threads, otherwise we will risk a lock-inversion deadlock between the thread list and the API mutex. <rdar://problem/12554049> llvm-svn: 169612
-
rdar://problem/12831670Jason Molenda authored
When using the same-device optimization for shared cache libraries, if we have an invalid load address for __LINKEDIT, don't try to read anything out of lldb's own address space. Reading it out of the remote address space will fail gracefully if we have bad addresses but reading it out of lldb's own address space will result in a crash. llvm-svn: 169582
-
rdar://problem/8908550Greg Clayton authored
Added "--address" as an available option for "source list". llvm-svn: 169567
-
rdar://problem/12827789Greg Clayton authored
Be sure to load dSYM files when the object file is in memory only. llvm-svn: 169560
-
- Dec 06, 2012
-
-
rdar://problem/12820334Greg Clayton authored
I modified the "Args::StringtoAddress(...)" function to be able to evaluate address expressions. This is now used for any command line arguments or options that takes addresses like: memory read <addr> [<end-addr>] memory write <addr> breakpoint set --address <addr> disassemble --start-address <addr> --end-address <addr> It calls the expression parser to evaluate the address expression and will also work around the issue where the compiler doesn't like to add offsets to function pointers (which is what happens when you try to evaluate "main + 12"). So there is a temp fix in the Args::StringtoAddress() to work around this until we can get special compiler support for debug expressions with function pointers. llvm-svn: 169556
-
Jason Molenda authored
llvm-svn: 169552
-
Jim Ingham authored
llvm-svn: 169549
-
Daniel Malea authored
llvm-svn: 169515
-
Jason Molenda authored
RegisterIsCalleeSaved. Add ebp back to the list of registers that are callee saved. <rdar://problem/12817918> llvm-svn: 169466
-
rdar://problem/12560257Greg Clayton authored
Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure. llvm-svn: 169465
-
Sean Callanan authored
of the "self"/"this" pointer for the current stack frame before wrapping expressions in C++ or Objective-C methods. This works around bad debug info where the compiler emits a "this" or "self" but doesn't give any way to find its location. <rdar://problem/12809985> llvm-svn: 169461
-
Daniel Malea authored
llvm-svn: 169454
-
Sean Callanan authored
- Removed the BitfieldMap class because it is unnecessary. We now just track the most recently added field. - Moved the code that calculates bitfield widths so it can also be used to determine whether it's necessary to insert anonymous fields. - Simplified the anonymous field calculation code into three cases (two of which are resolved identically). - Beefed up the bitfield testcase. llvm-svn: 169449
-
Jason Molenda authored
for target logging. llvm-svn: 169444
-
- Dec 05, 2012
-
-
rdar://problem/12560257Greg Clayton authored
Fixed arrays with a size of 1 to correctly have 1 member when DW_AT_upper_bound was set to zero and no other attributes were set. llvm-svn: 169431
-
rdar://problem/12749733Greg Clayton authored
Always allows getting builtin types by name even if there is no backing debug information. llvm-svn: 169424
-
Daniel Malea authored
llvm-svn: 169417
-
Greg Clayton authored
Backed out part of the ABI changes that were checked in because it breaks the i386 test suite as it makes backtraces for the first instruction of a function fail. Stepping relies on backtraces being correct, so I am reverting what is causing the breakage. I filed this to track the fix: <rdar://problem/12817918> Recent i386 ABI changes break the i386 test suite because stack backtracing is busted when stopped in trampolines llvm-svn: 169409
-
Greg Clayton authored
llvm-svn: 169394
-
Jason Molenda authored
Update the Target methods which can change the target log to this channel. llvm-svn: 169342
-
Daniel Malea authored
- add new header lldb-python.h to be included before other system headers - short term fix (eventually python dependencies must be cleaned up) Patch by Matt Kopec! llvm-svn: 169341
-
rdar://problem/12649160Greg Clayton authored
Added the ability to debug through your process exec'ing itself to the same architecture. llvm-svn: 169340
-
- Dec 04, 2012
-
-
Jason Molenda authored
these are the *non-volatile* registers on Darwin/i386, not the volatile registers. Recognize the sp, pc, fp generic reg names as well. llvm-svn: 169316
-
Sean Callanan authored
type of an Objective-C selector, don't bother making the expression parser resolve it all over again. Just send the message straight to the object pointer as if it were an id, and cast the result. <rdar://problem/12799087> llvm-svn: 169300
-
Sean Callanan authored
them while making our initial run through the Objective-C runtime's class tables. <rdar://problem/12799087> llvm-svn: 169299
-
Daniel Malea authored
llvm-svn: 169295
-
rdar://problem/12750060Greg Clayton authored
Add the ability to get a symbol or symbols by name and type from a SBModule, and also the ability to get all symbols by name and type from SBTarget objects. llvm-svn: 169205
-
Jim Ingham authored
llvm-svn: 169203
-
Greg Clayton authored
llvm-svn: 169202
-
rdar://problem/12798131Greg Clayton authored
Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite. This fix does the following: - make sure all short options are treated as "int" - make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired - fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates - fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value llvm-svn: 169189
-
Daniel Malea authored
- use const char* instead of char* as needed in ObjC language runtime plugin - use int to iterate through enum (operator++ on enum not defined) - use initializer list instead of inline initialization of const field llvm-svn: 169185
-
- Dec 03, 2012
-
-
Sean Callanan authored
a file name, whether the file name had an extension or not. <rdar://problem/12793152> llvm-svn: 169156
-
Greg Clayton authored
llvm-svn: 169140
-
rdar://problem/12742973Greg Clayton authored
Forwarding a fix for a crasher in the demangler. llvm-svn: 169136
-
- Dec 01, 2012
-
-
Jason Molenda authored
that kexts were newly added. The Darwin userland dynamic loader provides lldb with a list of newly-added or newly-removed binaries but in the kernel case we only know that something has changed. DynamicLoaderDarwinKernel really needs to maintain its own persistent list of kexts that it has been notified about (most importantly, it will not detect kext unlods) but for now we'll at least avoid re-adding an already present kext. <rdar://problem/12658487>, <rdar://problem/12658487> llvm-svn: 169082
-
Jason Molenda authored
llvm-svn: 169081
-
Jason Molenda authored
64-bit kernel in ProcessGDBRemote. <rdar://problem/12657369> llvm-svn: 169080
-