| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Attached is a small python fix to save the current stout and std err when starting a python session, then diverting them (as it was before), and restoring the previous values afterwards. Otherwise, a python script could suddenly find itself without output.
llvm-svn: 151693
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial step -- infrastructure change -- to fix the bug. Change the RegisterInfo data structure
to contain two additional fields (uint32_t *value_rges and uint32_t *invalidate_regs) to facilitate
architectures which have register mapping.
Update all existing RegsiterInfo arrays to have two extra NULL's (the additional fields) in each row,
GDBRemoteRegisterContext.cpp is modified to add d0-d15 and q0-q15 register info entries which take
advantage of the value_regs field to specify the containment relationship:
d0 -> (s0, s1)
...
d15 -> (s30, s31)
q0 -> (d0, d1)
...
q15 -> (d30, d31)
llvm-svn: 151686
|
| |
|
|
|
|
| |
Need to GetProcess() to set the uid of the process to attach.
llvm-svn: 151679
|
| |
|
|
|
|
| |
Returns true when there is any info retrieved.
llvm-svn: 151678
|
| |
|
|
| |
llvm-svn: 151677
|
| |
|
|
| |
llvm-svn: 151642
|
| |
|
|
| |
llvm-svn: 151640
|
| |
|
|
|
|
| |
that have valid load addresses.
llvm-svn: 151636
|
| |
|
|
| |
llvm-svn: 151606
|
| |
|
|
|
|
| |
Allows the debugger to put a more sensible prompt when debugging as root.
llvm-svn: 151605
|
| |
|
|
|
|
|
|
| |
execution
and one for another error message.
llvm-svn: 151593
|
| |
|
|
|
|
| |
DataExtractor.cpp.
llvm-svn: 151587
|
| |
|
|
|
|
|
|
| |
child process spawned by pexpect is terminated.
Fix the issue of many '(lldb)' zombie processes observed by Jim.
llvm-svn: 151583
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixed an error where if we tried to format a ValueObject using a format
that was incorrect for a variable, then it would set ValueObject::m_error
to an error state and stop the value from being able to be updated. We now
leave m_error alone and only let the update value code change that. Any errors
in formatting will return a valid value as C string that contains an error
string. This lets us then modify the format and redisplay without any issues.
llvm-svn: 151581
|
| |
|
|
|
|
| |
on libm being loaded.
llvm-svn: 151565
|
| |
|
|
|
|
|
|
| |
startDefinition() ... endDefinition() block,
preventing crashes where the byte size of a
not-yet-complete type was being computed.
llvm-svn: 151546
|
| |
|
|
|
|
|
| |
AST importer because we're seeing occasional
crashes.
llvm-svn: 151541
|
| |
|
|
|
|
|
|
|
|
|
|
| |
and also so we don't break them with our code changes.
The _only_ plug-ins that should be #ifdef'ed out and not compiled in LLDB
are those that only work when running natively on the host system.
This fixed bot the PlatformLinux and PlatformFreeBSD build breakages that
were due to ModuleSpec changes.
llvm-svn: 151539
|
| |
|
|
|
|
|
|
|
| |
so that we don't break it with code changes.
After doing this I was able to fix the POSIX-DYLD plug-in so that it builds
after recent ModuleSpec changes.
llvm-svn: 151536
|
| |
|
|
| |
llvm-svn: 151535
|
| |
|
|
|
|
| |
Patch from Dmitry Vyukov <dvyukov@google.com>!
llvm-svn: 151534
|
| |
|
|
| |
llvm-svn: 151532
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more of the local path, platform path, associated symbol file, UUID, arch,
object name and object offset. This allows many of the calls that were
GetSharedModule to reduce the number of arguments that were used in a call
to these functions. It also allows a module to be created with a ModuleSpec
which allows many things to be specified prior to any accessors being called
on the Module class itself.
I was running into problems when adding support for "target symbol add"
where you can specify a stand alone debug info file after debugging has started
where I needed to specify the associated symbol file path and if I waited until
after construction, the wrong symbol file had already been located. By using
the ModuleSpec it allows us to construct a module with as little or as much
information as needed and not have to change the parameter list.
llvm-svn: 151476
|
| |
|
|
| |
llvm-svn: 151439
|
| |
|
|
|
|
|
|
| |
Added a dedicated platform for the iOS simulator. This helps us to find the
correct files for a simulator binary before running and helps us select the
right arch (i386 only) for files when we load them.
llvm-svn: 151436
|
| |
|
|
|
|
| |
Now Each newly created target has its Watchpoint IDs as 1, 2, 3 ...
llvm-svn: 151435
|
| |
|
|
| |
llvm-svn: 151422
|
| |
|
|
| |
llvm-svn: 151421
|
| |
|
|
|
|
| |
Added ability to debug root processes on OS X. This uses XPC service that is available on Lion and above only.
llvm-svn: 151419
|
| |
|
|
|
|
| |
getting, setting, and checking.
llvm-svn: 151408
|
| |
|
|
|
|
| |
watchpoint fired has the expected watchpoint id.
llvm-svn: 151404
|
| |
|
|
|
|
|
|
|
| |
weak reference back to the Module. We were crashing when trying to make a
memory object file since it was trying to get the object in the Module
constructor before the "Module *" had been put into a shared pointer, and the
module was trying to initialize a weak pointer back to it.
llvm-svn: 151397
|
| |
|
|
| |
llvm-svn: 151393
|
| |
|
|
| |
llvm-svn: 151392
|
| |
|
|
|
|
| |
code block - better for maintenance and debugging
llvm-svn: 151390
|
| |
|
|
|
|
| |
runtime version
llvm-svn: 151388
|
| |
|
|
|
|
| |
Patch from dawn@burble.org!
llvm-svn: 151375
|
| |
|
|
| |
llvm-svn: 151370
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will fill out either a SBLaunchInfo or SBAttachInfo class, then call:
SBProcess SBTarget::Launch (SBLaunchInfo &, SBError &);
SBProcess SBTarget::Attach (SBAttachInfo &, SBError &);
The attach is working right now and allows the ability to set many filters such
as the parent process ID, the user/group ID, the effective user/group ID, and much
more.
The launch is not yet working, but I will get this working soon. By changing our
launch and attach calls to take an object, it allows us to add more capabilities to
launching and attaching without having to have launch and attach functions that
take more and more arguments.
Once this is all working we will deprecated the older launch and attach fucntions
and eventually remove them.
llvm-svn: 151344
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I started work on being able to add symbol files after a debug session
had started with a new "target symfile add" command and quickly ran into
problems with stale Address objects in breakpoint locations that had
lldb_private::Section pointers into modules that had been removed or
replaced. This also let to grabbing stale modules from those sections.
So I needed to thread harded the Address, Section and related objects.
To do this I modified the ModuleChild class to now require a ModuleSP
on initialization so that a weak reference can created. I also changed
all places that were handing out "Section *" to have them hand out SectionSP.
All ObjectFile, SymbolFile and SymbolVendors were inheriting from ModuleChild
so all of the find plug-in, static creation function and constructors now
require ModuleSP references instead of Module *.
Address objects now have weak references to their sections which can
safely go stale when a module gets destructed.
This checkin doesn't complete the "target symfile add" command, but it
does get us a lot clioser to being able to do such things without a high
risk of crashing or memory corruption.
llvm-svn: 151336
|
| |
|
|
|
|
|
|
| |
entry" field
of the DSCR to check whether it was because of watchpoint occurred.
llvm-svn: 151333
|
| |
|
|
|
|
| |
when using TOT clang, but succeed on older compiler releases
llvm-svn: 151309
|
| |
|
|
|
|
|
|
|
|
|
| |
Intel disassembler usable.
Also flipped the switch: we are now exclusively
using Disassembler.h instead of
EnhancedDisassembly.h for all disassembly in
LLDB.
llvm-svn: 151306
|
| |
|
|
|
|
| |
select mask for WCR.
llvm-svn: 151305
|
| |
|
|
| |
llvm-svn: 151304
|
| |
|
|
|
|
|
|
|
|
| |
classes.
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation.
A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit.
The formatters are contained in a category named "AppKit", which is not enabled at startup.
llvm-svn: 151301
|
| |
|
|
|
|
|
|
|
|
| |
classes.
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation.
A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit.
The formatters are contained in a category named "AppKit", which is not enabled at startup.
llvm-svn: 151300
|
| |
|
|
|
|
|
|
|
|
| |
classes.
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation.
A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit.
The formatters are contained in a category named "AppKit", which is not enabled at startup.
llvm-svn: 151299
|
| |
|
|
| |
llvm-svn: 151293
|
| |
|
|
|
|
| |
braces.
llvm-svn: 151292
|