- Sep 11, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 163638
-
Filipe Cabecinhas authored
llvm-svn: 163625
-
Jason Molenda authored
it is unconditionally present now. ObjectContainerBSDArchive::CreateInstance %z8.8x is not a valid printf arg specifier, %8.8zx would work for size_t arg but this arg is addr_t. use %8.8llx and cast up to uint64_t. ObjectFile::FindPlugin ditto. DynamicRegisterInfo::SetRegisterInfo ifdef this function out if LLDB_DISABLE_PYTHON. llvm-svn: 163599
-
rdar://problem/11935492Greg Clayton authored
Fixed an issue where if we call "Process::Destroy()" and the process is running, if we try to stop it and get "exited" back as the stop reason, we will still deliver the exited event. llvm-svn: 163591
-
Greg Clayton authored
llvm-svn: 163590
-
Jim Ingham authored
llvm-svn: 163576
-
Jim Ingham authored
llvm-svn: 163575
-
Jim Ingham authored
Shortcut ThreadPlanStepRange::MischiefManaged - if we have pushed new plans and they are not done, then we aren't done either. <rdar://problem/12259124> llvm-svn: 163572
-
- Sep 10, 2012
-
-
Jim Ingham authored
uint32_t size = ThreadList.GetSize(); for (i=0; i < size; ++i) without grabbing the thread list mutex. llvm-svn: 163541
-
- Sep 08, 2012
-
-
Sean Callanan authored
run code when it didn't really need to run. <rdar://problem/12145006> llvm-svn: 163450
-
Sean Callanan authored
type was being completed. llvm-svn: 163440
-
Jim Ingham authored
Fiddle with the heuristic about where to set the stop point in a nested inline stack when we get there by breakpoint. If we hit a user breakpoint, I set the stop point to the bottom-most frame 'cause that's what we did before. <rdar://problem/12258999> Setting breakpoint in always inline function is stopping in function above it llvm-svn: 163439
-
Greg Clayton authored
Make file + line breakpoints even more efficient by using our SearchFilter objects correctly now that we sometimes don't check for inlined breakpoints. llvm-svn: 163435
-
Jim Ingham authored
llvm-svn: 163433
-
Jim Ingham authored
In GetFramesUpTo, don't adjust the number of frames for the inlined depth if the number of frames in UINT32_MAX. llvm-svn: 163432
-
- Sep 07, 2012
-
-
Greg Clayton authored
Train LLDB to deal with bad linker N_SO entries that point to our source files for debug map + DWARF in .o file debugging. llvm-svn: 163417
-
Greg Clayton authored
The attached patch fixes a problem with performing an attach from the SBTarget API on Linux (and other systems that use ProcessPOSIX). When Process::Attach was called from SBTarget, it resulted in a call to a form of the DoAttachWithID function that wasn't implemented in ProcessPOSIX, and so it fell back to the default implementation (which just returns an error). It didn't seem necessary to use the attach_info parameter for this case, so I just implemented it as a call to the simpler version of the function. In debugging this problem, I also found that SBTarget wasn't checking the return value from the Attach call, causing it to hang when the attach fails. llvm-svn: 163399
-
Greg Clayton authored
The attached patch adds support for debugging 32-bit processes when running a 64-bit lldb on an x86_64 Linux system. Making this work required two basic changes: 1) Getting lldb to report that it could debug 32-bit processes 2) Changing an assumption about how ptrace works when debugging cross-platform For the first change, I took a conservative approach and only enabled this for x86_64 Linux platforms. It may be that the change I made in Host.cpp could be extended to other 64-bit Linux platforms, but I'm not familiar enough with the other platforms to know for sure. For the second change, the Linux ProcessMonitor class was assuming that ptrace(PTRACE_[PEEK|POKE]DATA...) would read/write a "word" based on the child process word size. However, the ptrace documentation says that the "word" size read or written is "determined by the OS variant." I verified experimentally that when ptracing a 32-bit child from a 64-bit parent a 64-bit word is read or written. llvm-svn: 163398
-
Jim Ingham authored
llvm-svn: 163366
-
Jim Ingham authored
llvm-svn: 163365
-
Enrico Granata authored
llvm-svn: 163352
-
- Sep 06, 2012
-
-
Enrico Granata authored
llvm-svn: 163351
-
Jim Ingham authored
llvm-svn: 163341
-
Jim Ingham authored
llvm-svn: 163340
-
Enrico Granata authored
llvm-svn: 163332
-
Jason Molenda authored
only accept the first matching type based on lldb's sizeofs. <rdar://problem/12222109> llvm-svn: 163285
-
Sean Callanan authored
which can conflict with accurate crash reporting in multithreaded contexts. llvm-svn: 163282
-
rdar://problem/12237556Greg Clayton authored
Fixed an issue where we didn't parse N_SO stab pairs where the first N_SO was a relative path. llvm-svn: 163259
-
- Sep 05, 2012
-
-
rdar://problem/12211320Greg Clayton authored
When the vendor and OS are not specified in a triple, only let unspecified vendor and OS fields matchs for the current host platform. llvm-svn: 163248
-
Jim Ingham authored
llvm-svn: 163246
-
Jim Ingham authored
llvm-svn: 163245
-
Jim Ingham authored
Move calculating the CurrentInlinedDepth to AFTER the synchronous breakpoint callback gets a chance to run. If the stopped event comes in with the Restarted bit set, don't try to hand that to the plans, but just return ShouldStop = false. There's nothing useful the plans can do, since the target is already running. llvm-svn: 163244
-
Enrico Granata authored
Implementing an Options class for EvaluateExpression() in order to make the signature more compact and make it easy to 'just run an expression' llvm-svn: 163239
-
rdar://problem/12100588Greg Clayton authored
Don't crash when we can't resolve our stub to a symbol. llvm-svn: 163189
-
Greg Clayton authored
llvm-svn: 163183
-
Enrico Granata authored
llvm-svn: 163170
-
- Sep 04, 2012
-
-
Greg Clayton authored
Modified patch from Matt Kopec that fixes a process launch issue on linux where we wouldn't acquire the process run lock. llvm-svn: 163163
-
Enrico Granata authored
llvm-svn: 163156
-
rdar://problem/11485744Enrico Granata authored
<rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python. llvm-svn: 163155
-
Greg Clayton authored
Patch from info from Daniel Malea that should fix the build on linux after fixes committed with revision 162860. llvm-svn: 163139
-