the thread id is easier to read in base16.llvm-svn: 326849
*** This commit represents a complete reformatting of the LLDB source code*** to conform to clang-format’s LLVM style. This kind of mass change has*** two obvious implications:Firstly, merging t
*** This commit represents a complete reformatting of the LLDB source code*** to conform to clang-format’s LLVM style. This kind of mass change has*** two obvious implications:Firstly, merging this particular commit into a downstream fork may be a hugeeffort. Alternatively, it may be worth merging all changes up to this commit,performing the same reformatting operation locally, and then discarding themerge for this particular commit. The commands used to accomplish thisreformatting were as follows (with current working directory as the root ofthe repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ;The version of clang-format used was 3.9.0, and autopep8 was 1.2.4.Secondly, “blame” style tools will generally point to this commit instead ofa meaningful prior commit. There are alternatives available that will attemptto look through this change and find the appropriate prior commit. YMMV.llvm-svn: 280751
show more ...
Add support for one API used to detect if a processis running under System Integrity Protection on Mac OS X 10.11. The rootless_allows_task_for_pid() spi(see debugserver RNBRemote.cpp) is the fin
Add support for one API used to detect if a processis running under System Integrity Protection on Mac OS X 10.11. The rootless_allows_task_for_pid() spi(see debugserver RNBRemote.cpp) is the final SPI thatis used for this - should add support for that too atsome point.llvm-svn: 252228
Fix examine-threads to build for arm64.llvm-svn: 222059
Move the code which translates a dispatch_qaddr into aqueue name out of ProcessGDBRemote and in to the Platformplugin, specifically PlatformDarwin.Also add a Platform method to translate a dispat
Move the code which translates a dispatch_qaddr into aqueue name out of ProcessGDBRemote and in to the Platformplugin, specifically PlatformDarwin.Also add a Platform method to translate a dispatch_quaddrto a QueueID, and a Thread::GetQueueID().I'll add an SBThread::GetQueueID() next.llvm-svn: 192949
Get debugserver to call task_set_state to prime the control registers so that watchpointstake for threads created while the program is running. Remove the testcase skips from TestConcurrentEvents.p
Get debugserver to call task_set_state to prime the control registers so that watchpointstake for threads created while the program is running. Remove the testcase skips from TestConcurrentEvents.py,since they all pass now, and fix TestWatchpointMultipleThreads.py - which should have caught this problem -so it doesn't artificially break on new thread creation before the watchpoint triggers.llvm.org/pr16566<rdar://problem/14383244>llvm-svn: 186132
Add an option to resume a suspended task.llvm-svn: 180830
Add code to retreive the mach port # for each thread in the inferior application'smach port namespace in addition to the mach port # in examine-threads' own portnamespace, and print it (when -v is
Add code to retreive the mach port # for each thread in the inferior application'smach port namespace in addition to the mach port # in examine-threads' own portnamespace, and print it (when -v is used).llvm-svn: 172867
Print out the task suspend count as well.llvm-svn: 143659
Rewrite get_kinfo_proc_for_pid() to get the kinfo_proc forthe one process we're interested in, instead of fetching allof them and only keeping one.(the old implementation made sense when we were
Rewrite get_kinfo_proc_for_pid() to get the kinfo_proc forthe one process we're interested in, instead of fetching allof them and only keeping one.(the old implementation made sense when we were doing theinitial find-this-process-by-pid-or-name by looking throughall the kinfo_procs.)llvm-svn: 134686
Restructure to be modular instead of a single big function;should make it a little easier to use this as an example ofhow to fetch all the different bits of information aboutthreads.llvm-svn: 13
Restructure to be modular instead of a single big function;should make it a little easier to use this as an example ofhow to fetch all the different bits of information aboutthreads.llvm-svn: 134135
Replace examine-threads.c with a similar little utility I wrote awhile back. By default its output will be less verbose than theold examine-threads.c but adding the '-v' command line flag willgiv
Replace examine-threads.c with a similar little utility I wrote awhile back. By default its output will be less verbose than theold examine-threads.c but adding the '-v' command line flag willgive all the information that examine-threads.c provided plus some.Of note, this implementation can take a process name -- and it willuse the libproc API so it can match program names longer than 16characters.llvm-svn: 133500
A tool for examining a mach process and its threads.llvm-svn: 124937