summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver
Commit message (Collapse)AuthorAgeFilesLines
...
* Follow up on <rdar://12720514>. Removed commented out code.Han Ming Ong2012-11-171-10/+0
| | | | llvm-svn: 168232
* <rdar://problem/12720514> Sub-TLF: Provide service to profile the inferiorHan Ming Ong2012-11-1714-9/+612
| | | | | | This allows client to query profiling states on the inferior. llvm-svn: 168228
* Added a posix_spawn based launchd plist for always using posix_spawn to ↵Greg Clayton2012-11-082-0/+18
| | | | | | launch programs. llvm-svn: 167563
* <rdar://problem/12647273>Greg Clayton2012-11-062-57/+166
| | | | | | Added the ability to get the full process list when using the --applist option in debugserver. llvm-svn: 167502
* Switched debugserver to use C++11/libc++.Sean Callanan2012-11-021-0/+9
| | | | | | <rdar://problem/12624679> llvm-svn: 167303
* Fix an error message in debugserver so it doesn't print "Unable toJason Molenda2012-11-011-1/+3
| | | | | | | launch process (null)" because we changed argv while doing argument parsing. llvm-svn: 167202
* Switch from using KERN_PROCARGS2 to get the path to the executed process to ↵Jim Ingham2012-11-011-11/+14
| | | | | | | | proc_pidpath. The former was flakey, and the whole point of libproc is to protect us from potential flakiness at that level... <rdar://problem/12594781> llvm-svn: 167194
* Added the plists to the debugserver project and fixed the labels for the new ↵Greg Clayton2012-10-313-2/+6
| | | | | | plists. llvm-svn: 167183
* More launchd style plists.Greg Clayton2012-10-312-0/+27
| | | | llvm-svn: 167182
* Resolve any bundle paths we are given when the specified executable is a bundle.Greg Clayton2012-10-313-3/+36
| | | | llvm-svn: 167175
* Provide an SSL context ref in case SLL is needed for communication.Greg Clayton2012-10-131-1/+3
| | | | llvm-svn: 165856
* <rdar://problem/12042500>Greg Clayton2012-10-111-1/+3
| | | | | | Fixed an issue where we would try to launch an application twice and the second failure would cover up the first. llvm-svn: 165756
* Fix build warnings.Greg Clayton2012-10-111-2/+2
| | | | llvm-svn: 165755
* Re-adding this previously removed file.Greg Clayton2012-09-201-0/+18
| | | | llvm-svn: 164331
* This file is causing problems. I am going to remove it and try re-adding it.Greg Clayton2012-09-201-18/+0
| | | | llvm-svn: 164328
* Bump to lldb-168, debugserver-193.Jason Molenda2012-09-201-6/+6
| | | | llvm-svn: 164291
* <rdar://problem/12219840>Greg Clayton2012-09-181-3/+20
| | | | | | Don't leak mach ports when calling "mach_thread_self()". llvm-svn: 164152
* Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. ↵Greg Clayton2012-09-1811-53/+53
| | | | | | Some platforms don't support this modification. llvm-svn: 164148
* <rdar://problem/11935492>Greg Clayton2012-09-111-0/+7
| | | | | | Fixed an issue where if we call "Process::Destroy()" and the process is running, if we try to stop it and get "exited" back as the stop reason, we will still deliver the exited event. llvm-svn: 163591
* Committed a simple dtrace script that tracksSean Callanan2012-08-171-0/+18
| | | | | | | process termination, which can be useful to track debugserver's delivery of signals. llvm-svn: 162104
* Updating Xcode project version numbers for lldb-165 and debugserver-192Sean Callanan2012-08-071-6/+6
| | | | llvm-svn: 161374
* Updating Xcode project version numbers for lldb-164 and debugserver-191Sean Callanan2012-08-021-6/+6
| | | | llvm-svn: 161209
* Updating Xcode project version numbers for lldb-163 and debugserver-190Sean Callanan2012-07-261-6/+6
| | | | llvm-svn: 160770
* Add a call to "sync" a thread state before checkpointing registers in ↵Jim Ingham2012-07-257-3/+68
| | | | | | | | | | | preparation for calling functions. This is necessary on Mac OS X, since bad things can happen if you set the registers of a thread that's sitting in a kernel trap. <rdar://problem/11145013> llvm-svn: 160756
* Use a more efficient API to tell if a process belongs to springboard or not.Jim Ingham2012-07-242-44/+6
| | | | llvm-svn: 160655
* Add "vAttachOrWait" to debugserver, so you can implement "attach to the ↵Jim Ingham2012-07-205-38/+68
| | | | | | process if it exists OR wait for it" without race conditions. Use that in lldb. llvm-svn: 160578
* <rdar://problem/11908082>Greg Clayton2012-07-191-5/+46
| | | | | | Allow debugserver to match process names that are longer than MAXCOMLEN (16) characters. We do this by digging up argv[0] from another sysctl if the process name supplied is longer than 16 characters. llvm-svn: 160487
* Update the project and schemes to the Xcode recommended settings.Greg Clayton2012-07-171-2/+3
| | | | llvm-svn: 160391
* Ran the static analyzer on the codebase and found a few things.Greg Clayton2012-07-176-47/+59
| | | | llvm-svn: 160338
* Fix an off by one error when handling a packet where our read buffer size ↵Jim Ingham2012-07-161-2/+2
| | | | | | | | | | truncates the first chunk of the packet between the two chars representing the checksum. <rdar://problem/11882074> llvm-svn: 160310
* Bump to lldb-162 / debugserver-189.Jason Molenda2012-07-141-6/+6
| | | | llvm-svn: 160212
* <rdar://problem/11782789> Changes to the watchpoint implementation on ARM so ↵Enrico Granata2012-07-131-0/+3
| | | | | | that we single-step before stopping at the WP. This is necessary because on ARM the WP triggers before the opcode is actually executed, so we would be unable to continue since we would keep hitting the WP. We work around this by disabling the WP, single stepping and then putting the WP back in place. llvm-svn: 160199
* Unify how we get host version on Mac OS X & iOS.Jim Ingham2012-07-121-18/+10
| | | | | | | | | Also remove our dependency on UIKit & AppKit. Cleaned up the project files a bit. <rdar://problem/11814498> llvm-svn: 160147
* Bump versions to lldb-161, debugserver-188.Jason Molenda2012-07-061-6/+6
| | | | llvm-svn: 159798
* Spelling fixes.Greg Clayton2012-06-292-2/+2
| | | | llvm-svn: 159466
* <rdar://problem/11679380> Make sure we do not fallback to software stepping ↵Enrico Granata2012-06-281-47/+9
| | | | | | when hardware stepping should work but fails to get enabled. Also removing dead code paths llvm-svn: 159322
* DNBLogThreadedIf already inserts a newlineFilipe Cabecinhas2012-06-221-1/+1
| | | | llvm-svn: 158995
* rdar://problem/11390100Johnny Chen2012-06-111-15/+18
| | | | | | debugserver needs to be able to posix_spawn debugging apps that have ".app" in their path that aren't bundles llvm-svn: 158327
* Properly initialize the member fields used for hardware watchpoint ↵Johnny Chen2012-06-022-2/+6
| | | | | | transaction management. llvm-svn: 157878
* rdar://problem/11320188Johnny Chen2012-06-018-13/+148
| | | | | | | | | Designate MachThreadList as a transaction coordinator when doing Enable/DisableHardwareWatchpoint on the list of threads. In case the operation (iterating on the threads and doing enable/disable) fails in the middle, we rollback the already enabled/disabled threads to their checkpointed states. When all the threads succeed in enable/disable, we ask each thread to finsih the transaction and commit the change of the debug state. llvm-svn: 157858
* For hardware watchpoint enable/disable, in case the kernel call to set the ↵Johnny Chen2012-05-312-1/+13
| | | | | | revised debug state fails, we need to recover the local cache to the previous known state. llvm-svn: 157778
* Make dbgnub-config.pl work with multiline env vars.Filipe Cabecinhas2012-05-301-0/+1
| | | | llvm-svn: 157664
* Add the capability to display the number of supported hardware watchpoints ↵Johnny Chen2012-05-2310-0/+70
| | | | | | | | | to the "watchpoint list" command. Add default Process::GetWatchpointSupportInfo() impl which returns an error of "not supported". Add "qWatchpointSupportInfo" packet to the gdb communication layer to support this, and modify TestWatchpointCommands.py to test it. llvm-svn: 157345
* Bump debugserver version # to 187.Jason Molenda2012-05-161-6/+6
| | | | llvm-svn: 156888
* Change lockdown API use in RNBSocket::ConnectToService.Jason Molenda2012-05-161-3/+3
| | | | | | <rdar://problem/10800927> llvm-svn: 156883
* Sanity check the return value from SBSCopyApplicationDisplayIdentifiers() ↵Johnny Chen2012-05-101-1/+2
| | | | | | | | before calling CFArrayGetCount() on it. rdar://problem/11331867 llvm-svn: 156562
* <rdar://problem/11358639>Greg Clayton2012-05-081-6/+17
| | | | | | | | 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
* Clean up the usage of "MasterPlan" status in ThreadPlans. Only ↵Jim Ingham2012-05-031-4/+1
| | | | | | | | | | | | | | | user-initiated plans 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
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-1/+0
| | | | llvm-svn: 155641
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-2/+2
| | | | llvm-svn: 155640
OpenPOWER on IntegriCloud