summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/MachException.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More packet performance improvements. Greg Clayton2015-07-171-0/+7
| | | | | | | | Changed the "jthreads" key/value in the stop reply packets to be "jstopinfo". This JSON only contains threads with valid stop reasons and allows us not to have to ask about other threads via qThreadStopInfo when we are stepping. The "jstopinfo" only gets sent if there are more than one thread since the stop reply packet contains all the info needed for a single thread. Added a Process::WillPublicStop() in case process subclasses want to do any extra gathering for public stops. For ProcessGDBRemote, we end up sending a jThreadsInfo packet to gather all expedited registers, expedited memory and MacOSX queue information. We only do this for public stops to minimize the packets we send when we have multiple private stops. Multiple private stops happen when a source level single step, step into or step out run the process multiple times while implementing the stepping, and none of these private stops make it out to the UI via notifications because they are private stops. llvm-svn: 242593
* <rdar://problem/14814689>Greg Clayton2013-11-131-2/+1
| | | | | | Add a log message to the console that will display the error code when we fail to reply to a mach message. llvm-svn: 194623
* Get rid of a warning.Greg Clayton2013-02-161-1/+1
| | | | llvm-svn: 175337
* Don't listen for EXC_RESOURCE exceptions, those should really be handled by ↵Jim Ingham2013-01-241-1/+12
| | | | | | | | the system handler. Also put in string translations for a couple of exceptions we were missing. llvm-svn: 173390
* Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. ↵Greg Clayton2012-09-181-4/+4
| | | | | | Some platforms don't support this modification. llvm-svn: 164148
* Ran the static analyzer on the codebase and found a few things.Greg Clayton2012-07-171-4/+3
| | | | llvm-svn: 160338
* <rdar://problem/11007934> Greg Clayton2012-03-081-7/+12
| | | | | | | | On darwin, if child process of process being debugged dies due to mach exception, the debugged process will die. debugserver now only handles the mach exceptions for the task being debugged. llvm-svn: 152291
* <rdar://problem/10986692>Greg Clayton2012-03-061-7/+10
| | | | | | Safeguard against building on next OS and run on current OS. llvm-svn: 152077
* <rdar://problem/10963899>Greg Clayton2012-03-011-3/+29
| | | | | | | Allow debugserver to be built on a newer kernel and still allow debugging on older kernels. llvm-svn: 151827
* Enabled the "printf" attribute on all debugserver logging functions and fixed Greg Clayton2011-10-281-35/+34
| | | | | | the ensuing mayhem. llvm-svn: 143244
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-081-0/+533
llvm-svn: 105619
OpenPOWER on IntegriCloud