| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
protocol.
llvm-svn: 162540
|
|
|
|
| |
llvm-svn: 162532
|
|
|
|
|
|
|
|
| |
centralized the parsing of the string to encoding and string to generic register.
Added code the initialize the register context in the OperatingSystemPython plug-in with the new PythonData classes, and added a test OperatingSystemPython module in lldb/examples/python/operating_system.py that we can use for testing.
llvm-svn: 162530
|
|
|
|
| |
llvm-svn: 162527
|
|
|
|
|
|
| |
fetch the data and convert it to C++ objects is still missing, but will come
llvm-svn: 162522
|
|
|
|
| |
llvm-svn: 162519
|
|
|
|
|
|
| |
functionality (still WIP)
llvm-svn: 162513
|
|
|
|
| |
llvm-svn: 162510
|
|
|
|
| |
llvm-svn: 162504
|
|
|
|
| |
llvm-svn: 162503
|
|
|
|
| |
llvm-svn: 162500
|
|
|
|
|
|
|
|
|
|
|
|
| |
itself to be disabled!
Previously we put a WatchpointSentry object within StopInfo.cpp to disable-and-then-enable the watchpoint itself
while we are performing the actions associated with the triggered watchpoint, which can cause the user-initiated
watchpoint disabling action to be negated.
Add a test case to verify that a watchpoint can be disabled during the callbacks.
llvm-svn: 162483
|
|
|
|
|
|
| |
in a ref-counting and type-safe C++ API
llvm-svn: 162481
|
|
|
|
|
|
| |
class in python to get thread information for threads stored in memory.
llvm-svn: 162472
|
|
|
|
|
|
| |
<rdar://problem/12161861>
llvm-svn: 162470
|
|
|
|
|
|
|
| |
Make it so that "b 245" should set a breakpoint at line 245 of the current file.
Also add a simple test file.
llvm-svn: 162419
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a new "interpreter" properties to encapsulate any properties for the command interpreter. Right now this contains only "expand-regex-aliases", so you can now enable (disabled by default) the echoing of the command that a regular expression alias expands to:
(lldb) b main
Breakpoint created: 1: name = 'main', locations = 1
Note that the expanded regular expression command wasn't shown by default. You can enable it if you want to:
(lldb) settings set interpreter.expand-regex-aliases true
(lldb) b main
breakpoint set --name 'main'
Breakpoint created: 1: name = 'main', locations = 1
Also enabled auto completion for enumeration option values (OptionValueEnumeration) and for boolean option values (OptionValueBoolean).
Fixed auto completion for settings names when nothing has been type (it should show all settings).
llvm-svn: 162418
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from an ExecutionContextRef,
particularly in the SBThread & SBFrame interfaces. Instead of filling the whole context & then getting
the API mutex, we now get only the target, acquire the API mutex from it, then fill out the rest of the
context. This removes a race condition where you get a ThreadSP, then wait on the API mutex while another
command Destroy's the Thread you've just gotten.
Also fixed the ExecutionContextRef::Get*SP calls so they don't return invalid objects.
Also fixed the ExecutionContext::Has*Scope calls so they don't claim to have a scope if the object representing
that scope has been destroyed.
Also fixed a think-o in Thread::IsValid which was causing it to return the opposite of the desired value.
<rdar://problem/11995490>
llvm-svn: 162401
|
|
|
|
| |
llvm-svn: 162400
|
|
|
|
| |
llvm-svn: 162376
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
issues with the previous implementation:
- no setting auto completion
- very manual and error prone way of getting/setting variables
- tons of code duplication
- useless instance names for processes, threads
Now settings can easily be defined like option values. The new settings makes use of the "OptionValue" classes so we can re-use the option value code that we use to set settings in command options. No more instances, just "does the right thing".
llvm-svn: 162366
|
|
|
|
| |
llvm-svn: 162357
|
|
|
|
|
|
|
| |
'add-dsym' (aka 'target symbols add') should display error messages when dsym file is not found
or the dsym uuid does not match any existing modules. Add TestAddDsymCommand.py test file.
llvm-svn: 162332
|
|
|
|
|
|
| |
http://llvm.org/viewvc/llvm-project?rev=162322&view=rev.
llvm-svn: 162328
|
|
|
|
|
|
| |
the sentry object is already doing that.
llvm-svn: 162323
|
|
|
|
|
|
|
| |
Watchpoint conditions were hitting watchpoint, smashing LLDB's stack.
Make sure watchpoint is properly disabled and subsequently enabled while performing watchpoint actions.
llvm-svn: 162322
|
|
|
|
|
|
|
|
| |
dynamic value - which might involve running code. So they need to take the stop lock & target locks.
<rdar://problem/12001204>
llvm-svn: 162250
|
|
|
|
|
|
| |
I also added a typemap to make DispatchInput usable in Python.
llvm-svn: 162204
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when you want to find the caller's saved pc, you look up the return address
register and use that. On arm, for instance, this would be the contents of
the link register (lr).
If the eh_frame CIE defines an RA, record that fact in the UnwindPlan.
When we're finding a saved register, if it's the pc, lok for the location
of the return address register instead.
<rdar://problem/12062310>
llvm-svn: 162167
|
|
|
|
| |
llvm-svn: 162162
|
|
|
|
| |
llvm-svn: 162161
|
|
|
|
|
|
|
|
|
|
|
|
| |
could, during destruction,
tread on the m_embedded_thread_input_reader_sp singleton maintained by the script interpreter.
Furthermore, use two additional slots under the script interpreter to store the PseudoTerminal and
the InputReaderSP pertaining to the embedded python interpreter -- resulted from the
ScriptInterpreterPython::ExecuteInterpreterLoop() call -- to facilitate separation from what is being
used by the PythonInputReaderManager instances.
llvm-svn: 162147
|
|
|
|
|
|
|
|
|
| |
"command regex." It's now more readable and
grammatically correct.
<rdar://problem/12115962>
llvm-svn: 162047
|
|
|
|
|
|
|
|
| |
are materialized.
<rdar://problem/12105013>
llvm-svn: 162046
|
|
|
|
|
|
|
| |
Add an lldb command line option to specify a core file: --core/-c.
For consistency, change the "target create" command to also use --core.
llvm-svn: 161993
|
|
|
|
|
|
| |
<rdar://problem/12090979>
llvm-svn: 161910
|
|
|
|
| |
llvm-svn: 161903
|
|
|
|
|
|
|
|
|
| |
to evaluate the variable expression,
do not take the sanpshot and forget about the stop info. It is possible that the variable expression has gone
out of scope, we'll revise the hit count due to the false alarms.
llvm-svn: 161892
|
|
|
|
|
|
|
| |
'type category enable *' command
to match 'type category disable *'
llvm-svn: 161882
|
|
|
|
|
|
| |
Change the test case, too.
llvm-svn: 161806
|
|
|
|
|
|
|
|
|
| |
return 0x0 as the read value instead of uninitialized
stack data so we get consistent behavior from the
emulator.
<rdar://problem/12058770>
llvm-svn: 161795
|
|
|
|
| |
llvm-svn: 161787
|
|
|
|
|
|
|
| |
Record the snapshot of our watched value when the watchpoint is set or hit.
And report the old/new values when watchpoint is triggered. Add some test scenarios.
llvm-svn: 161785
|
|
|
|
|
|
|
|
|
|
| |
breakpoint under
the currently selected thread.
<rdar://problem/10458225>
llvm-svn: 161723
|
|
|
|
|
|
| |
Remember to copy the address byte size and the byte order when copying data into a DWARF location object, or things will go wrong.
llvm-svn: 161721
|
|
|
|
|
|
| |
reference into the debug info until test suite failures are resolved.
llvm-svn: 161720
|
|
|
|
|
|
| |
return bool.
llvm-svn: 161719
|
|
|
|
|
|
| |
Fixed an issue that could cause references the shared data for an object file to stay around longer than intended and could cause memory bloat when debugging multiple times.
llvm-svn: 161716
|
|
|
|
|
|
| |
<rdar://problem/11274012>
llvm-svn: 161704
|
|
|
|
|
|
| |
UnwindPlan::Dump methods.
llvm-svn: 161696
|