summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/diagnose_unwind.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typeo in diagnose-unwind.py.Jason Molenda2013-07-151-1/+1
| | | | llvm-svn: 186358
* Add the frame content dumper function call to one more place.Jason Molenda2013-07-091-0/+2
| | | | llvm-svn: 185906
* Add new information gathering to the lldb & simple backtrace methods:Jason Molenda2013-07-091-5/+30
| | | | | | | print five words of memory at the beginning of the stack frame so it's easier to track where an incorrect saved-fp or saved-pc may have come from. llvm-svn: 185903
* Also report any OS python plugin in use.Jason Molenda2013-06-201-0/+3
| | | | llvm-svn: 184487
* Print the general purpose registers for frame 0.Jason Molenda2013-06-201-0/+8
| | | | llvm-svn: 184483
* A few small enhancements to the diagnose-unwind command.Jason Molenda2013-06-191-24/+82
| | | | | | | | | | | | | | | | Change the simple-minded stack walk to not depend on lldb to unwind the first frame. Collect a list of Modules and Addresses seen while backtracing (with both methods), display the image list output for all of those modules, plus disassemble and image show-unwind any additional frames that the simple backtrace was able to unwind through instead of just the lldb unwind algorithm frames. Remove checks for older lldb's that didn't support -a for disassemble or specifying the assembler syntax on x86 targets. llvm-svn: 184280
* Small changes to diagnose_unwind. Correctly provide help text.Jason Molenda2013-06-051-6/+15
| | | | | | Print the lldb version at the top of the output. llvm-svn: 183289
* Adding a diagnose-nsstring commandEnrico Granata2013-05-301-1/+1
| | | | | | This should help us figure out issues with the NSString data formatter llvm-svn: 182972
* Print a backtrace line for a pc value even if we can't make an SBAddressJason Molenda2013-05-011-1/+2
| | | | | | out of it. llvm-svn: 180835
* Put a try/catch block around the SBAddress setting; don't want to Jason Molenda2013-04-301-13/+16
| | | | | | | terminate the command early if we happen to have an invalid load address. llvm-svn: 180826
* Rename unwind_diagnose.py to diagnose_unwind.py. ChangeJason Molenda2013-04-301-0/+161
finish-swig-Python-LLDB.sh to create a new lldb.diagnose subdirectory in the LLDB framework; the first diagnostic command in this directory is diagnose-unwind. There may be others added in the future. Users can load these diagnostic tools into their session with "script import lldb.diagnose". llvm-svn: 180768
OpenPOWER on IntegriCloud