- Aug 22, 2012
-
-
Greg Clayton authored
Reimplemented the code that backed the "settings" in lldb. There were many 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
-
Filipe Cabecinhas authored
llvm-svn: 162357
-
Filipe Cabecinhas authored
Now it's possible to use SBInputReader callbacks in Python. We leak the callback object, unfortunately. A __del__ method can be added to SBInputReader, but we have no way to check the callback function that is on the reader. So we can't call Py_DECREF on it when we have our PythonCallback function. One way to do it is to assume that reified SBInputReaders always have a Python callback (and always call Py_DECREF). Another one is to add methods or properties to SBInputReader (or make the m_callback_function property public). llvm-svn: 162356
-
Johnny Chen authored
'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
-
Johnny Chen authored
Fix test failures in TestWatchpointIter.py due to http://llvm.org/viewvc/llvm-project?rev=162322&view=rev. llvm-svn: 162328
-
Johnny Chen authored
Remove the process->DisableWatchpoint() and EnableWatchpoint() calls since the sentry object is already doing that. llvm-svn: 162323
-
Johnny Chen authored
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
-
- Aug 21, 2012
-
-
Johnny Chen authored
llvm-svn: 162308
-
Jim Ingham authored
SBValue::GetTypeName and SBValue::GetByteSize might have to update the dynamic value - which might involve running code. So they need to take the stop lock & target locks. <rdar://problem/12001204> llvm-svn: 162250
-
Johnny Chen authored
llvm-svn: 162239
-
- Aug 20, 2012
-
-
Johnny Chen authored
Also modify the boundary condition test case SBDebugger.DispatchInput(None) to be wrapped inside a try-except clause for now. llvm-svn: 162228
-
Greg Clayton authored
llvm-svn: 162207
-
Filipe Cabecinhas authored
I also added a typemap to make DispatchInput usable in Python. llvm-svn: 162204
-
Filipe Cabecinhas authored
llvm-svn: 162203
-
- Aug 18, 2012
-
-
Jason Molenda authored
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
-
Johnny Chen authored
llvm-svn: 162162
-
Johnny Chen authored
llvm-svn: 162161
-
Johnny Chen authored
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
-
- Aug 17, 2012
-
-
Sean Callanan authored
process termination, which can be useful to track debugserver's delivery of signals. llvm-svn: 162104
-
- Aug 16, 2012
-
-
Sean Callanan authored
"command regex." It's now more readable and grammatically correct. <rdar://problem/12115962> llvm-svn: 162047
-
Sean Callanan authored
are materialized. <rdar://problem/12105013> llvm-svn: 162046
-
Johnny Chen authored
llvm-svn: 162040
-
Johnny Chen authored
llvm-svn: 162001
-
Johnny Chen authored
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
-
- Aug 15, 2012
-
-
Sean Callanan authored
<rdar://problem/12090979> llvm-svn: 161910
-
Johnny Chen authored
llvm-svn: 161903
-
- Aug 14, 2012
-
-
Johnny Chen authored
When trying to take snapshots of a watched variable, if the frame is unable 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
-
rdar://problem/11589605Enrico Granata authored
'type category enable *' command to match 'type category disable *' llvm-svn: 161882
-
Johnny Chen authored
Change the test case, too. llvm-svn: 161806
-
- Aug 13, 2012
-
-
Jason Molenda authored
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
-
Johnny Chen authored
llvm-svn: 161787
-
Johnny Chen authored
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
-
rdar://problem/12087275Greg Clayton authored
Make the crashlog parser able to deal with spaces in the process name. llvm-svn: 161772
-
- Aug 11, 2012
-
-
Greg Clayton authored
Added a new "objc_refs" command that will track down all allocations on the heap that have the "isa" for the objective C class at offset zero. This will need to be improved to deal with KVO classes, but it is a start. It also disallows looking up a pointer value of zero since that would return way too many matches. llvm-svn: 161724
-
Jim Ingham authored
the currently selected thread. <rdar://problem/10458225> llvm-svn: 161723
-
rdar://problem/11791234Greg Clayton authored
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
-
Greg Clayton authored
Revert changes where we copied the expression locations back to using the reference into the debug info until test suite failures are resolved. llvm-svn: 161720
-
Jim Ingham authored
llvm-svn: 161719
-
Jim Ingham authored
llvm-svn: 161718
-
rdar://problem/11791234Greg Clayton authored
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
-