- May 09, 2012
-
-
Johnny Chen authored
llvm-svn: 156509
-
Filipe Cabecinhas authored
Deal with being passed no parameters Remove the infinite loop when it's passed something like --help llvm-svn: 156504
-
Jim Ingham authored
Remove the string pool from the global destructor chain so it doesn't get yanked out from under us prematurely on exit. rdar://problem/11358062 llvm-svn: 156496
-
Jim Ingham authored
Print out a notification when the process of a target other than the currently selected target stops. llvm-svn: 156433
-
- May 08, 2012
-
-
rdar://problem/11338654Enrico Granata authored
<rdar://problem/11338654> Fixing a bug where having a summary for a bitfield without a format specified would in certain cases crash LLDB - This has also led to refactoring the by-type accessors for the data formatter subsystem. These now belong in our internal layer, and are just invoked by the public API stratum llvm-svn: 156429
-
rdar://problem/11400476Han Ming Ong authored
On Lion, because the rights initially doesn't exist in /etc/authorization, if an admin user logs in and uses lldb within the first 5 minutes, it is possible to do AuthorizationCopyRights on LaunchUsingXPCRightName and get the rights back. As another security measure, we make sure that the LaunchUsingXPCRightName rights actually exists. Removed Xcode as the user of the XPC service to shrink the security surface area. llvm-svn: 156424
-
rdar://problem/11408853Han Ming Ong authored
We make sure that if the user cancels out of the authentication dialog to add 'com.apple.lldb.LaunchUsingXPC' rights to /etc/authorization, we don't try to do AuthorizationCopyRights. As well, refactored a bit so that control flow is easier to read for other folks. Added more comments. llvm-svn: 156423
-
rdar://problem/11239650Enrico Granata authored
<rdar://problem/11239650> Fixing a bug where the SetValueFromCString() method failed to operate on dynamic values. The fix consists in making the set operation fall through to the parent. We only actually allow this if the dynamic value is at a 0-offset from the parent, or the new value is 0. Other scenarios would need agreement on the actual meaning of the set operation (do we keep offsetting? do we just assume the user knows what they are doing?) so we prevent them, and let the expression parser deal with the complexity llvm-svn: 156422
-
Jim Ingham authored
llvm-svn: 156412
-
Enrico Granata authored
A simple implementation of a summary and synthetic children providers for LLDB-specific shared pointers - This could be generalized to work with C++11 shared pointers with relative ease llvm-svn: 156410
-
Enrico Granata authored
llvm-svn: 156398
-
Enrico Granata authored
llvm-svn: 156397
-
rdar://problem/10605072Greg Clayton authored
Fixed the command callback override lookup function so we can now override the "process launch" command (or any other multi-word commands). llvm-svn: 156368
-
Jason Molenda authored
llvm-svn: 156359
-
rdar://problem/11358639Greg Clayton authored
Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples. Also make the selection process for auto selecting platforms based off of an arch much better. llvm-svn: 156354
-
Johnny Chen authored
llvm-svn: 156350
-
Sean Callanan authored
Thumb branch operands. llvm-svn: 156344
-
Johnny Chen authored
llvm-svn: 156340
-
Johnny Chen authored
Correctly specify the LLDB_OPT_SET's that the 'shlib' command option belongs to by using a newly added macro like this: #define LLDB_OPT_NOT_10 ( LLDB_OPT_SET_FROM(1, 10) & ~LLDB_OPT_SET_10 ) rdar://problem/11393864 llvm-svn: 156337
-
Johnny Chen authored
Add an -F option to the redo.py script to selectively re-run only those failed sessions whose filenames contain the component(s) specified. For example: ./redo.py -F x86_64 -n 2012-05-07-15_28_24 will redo the failed sessions under the 2012-05-07-15_28_24 directory, but only for session names which contain 'x86_64' in it. llvm-svn: 156335
-
- May 07, 2012
-
-
Johnny Chen authored
Move the el_source() call after the section of code which sets up the default "ctrl-r" and "ctrl-w" bindings so that user-provided .editrc has a chance to override the lldb's default key bindings. llvm-svn: 156314
-
Sean Callanan authored
and occasionally failure to recognize instructions. This problem affects ARM and Thumb BLX instructions. llvm-svn: 156307
-
Filipe Cabecinhas authored
llvm-svn: 156300
-
- May 06, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 156264
-
- May 05, 2012
-
-
Johnny Chen authored
Jason Molenda convinced me that we should make ctrl-w on the command line bind to ed-delete-prev-word. If you have ctrl-w key binding specified with your .editrc file, it will be overridden with ed-delete-prev-word. :-) llvm-svn: 156230
-
Jim Ingham authored
Missed a few uses of Mutex::GetMutex in template functions that don't seem to get instantiated on the Mac OS X build, but were causing build failures on Linux. llvm-svn: 156224
-
Sean Callanan authored
llvm-svn: 156223
-
Jim Ingham authored
No one was using it and Locker(pthread_mutex_t *) immediately asserts for pthread_mutex_t's that don't come from a Mutex anyway. Rather than try to make that work, we should maintain the Mutex abstraction and not pass around the platform implementation... Make Mutex::Locker::Lock take a Mutex & or a Mutex *, and remove the constructor taking a pthread_mutex_t *. You no longer need to call Mutex::GetMutex to pass your mutex to a Locker (you can't in fact, since I made it private.) llvm-svn: 156221
-
- May 04, 2012
-
-
Greg Clayton authored
Added an interactive mode to the "crashlog" command so that we can look at multiple crash logs at once and do some data mining. Added an interactive command prompt that allows you to do: % PYTHONPATH=./build/Debug/LLDB.framework/Resources/Python ; ./build/Debug//LLDB.framework/Resources/Python/lldb/macosx/crashlog.py -i ~/Downloads/crashes2/*.crash ) then you get an interactive prompt where you can search for data within all crash logs. For example you can do: % list which will list all crash logs And you can search for all images given an image basename, or full path: % image LLDB % image /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB % image LLDB.framework Which would all produce an output listing like: 40CD4430-7D27-3248-BE4C-71B1F36FC5D0 (1.132 - 132) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000011f8bc000 - 0x0000000120d3efbf) B727A528-FF1F-3B20-9E4F-BBE96C7D922D (1.136 - 136) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000011e7f7000 - 0x000000011fc7ff87) 4D6F8DC2-5757-39C7-96B0-1A5B5171DC6B (1.137 - 137) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000012bd7f000 - 0x000000012d1fcfef) FBF8786F-92B9-31E3-8BCD-A82148338966 (1.137 - 137) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000122d78000 - 0x00000001241f5fd7) 7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000119b8d000 - 0x000000011b02ef5f) 7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000111497000 - 0x0000000112938f5f) 7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000116680000 - 0x0000000117b21f5f) llvm-svn: 156201
-
Johnny Chen authored
Use a gentler API PyThreadState_GetDict(), instead. rdar://problem/11292882 llvm-svn: 156200
-
Jim Ingham authored
Fix a think in Mutex::Locker::Locker(pthread_mutex_t *) Really should lock the mutex handed in, not the m_mutex_ptr that you've set to NULL... Rework the Host.cpp::ThreadNameAccessor to use ThreadSafeSTLMap - we've got it so we might as well use it. Also works around a problem with the Mutex::Locker class raising fallacious asserts in debug mode when used with pthread_mutex_t's that weren't backed by Mutex objects. llvm-svn: 156193
-
Jason Molenda authored
us of its architecture, use that to set the Target's arch if it doesn't already have one set. In Process::CompleteAttach(), if the Target has a valid arch make sure that the Platform we pick up is compatible with that arch; if not, find a Platform that is compatible. Don't let the the default platform override the Target's arch. <rdar://problem/11185420> llvm-svn: 156116
-
Johnny Chen authored
AttributeError: 'module' object has no attribute 'debugger' llvm-svn: 156115
-
- May 03, 2012
-
-
Jim Ingham authored
should be MasterPlans that want to stay on the plan stack. So make all plans NOT MasterPlans by default and then have the SB API's and the CommandObjectThread step commands set this explicitly. Also added a "clean up" phase to the Thread::ShouldStop so that if plans get stranded on the stack, we can remove them. This is done by adding an IsPlanStale method to the thread plans, and if the plan can know that it is no longer relevant, it returns true, and the plan and its sub-plans will get discarded. llvm-svn: 156101
-
Jim Ingham authored
Document the fact that you can repeat "-n" and similar options to make one breakpoint on multiple names. llvm-svn: 156098
-
Johnny Chen authored
rdar://problem/11374653 llvm-svn: 156088
-
Enrico Granata authored
Adding a new 'type category disable *' feature that disables all categories - This is intended as a quick kill switch for data formatters for cases where the user wants as little extra processing as possible to be done on their target, or to override major data formatters bug, should they occur llvm-svn: 156044
-
- May 02, 2012
-
-
Sean Callanan authored
classes/structs that have variable-length arrays at the end. llvm-svn: 156026
-
Enrico Granata authored
llvm-svn: 156020
-
Enrico Granata authored
llvm-svn: 156018
-