| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 168232
|
|
|
|
|
|
| |
This allows client to query profiling states on the inferior.
llvm-svn: 168228
|
|
|
|
|
|
| |
launch programs.
llvm-svn: 167563
|
|
|
|
|
|
| |
Added the ability to get the full process list when using the --applist option in debugserver.
llvm-svn: 167502
|
|
|
|
|
|
| |
<rdar://problem/12624679>
llvm-svn: 167303
|
|
|
|
|
|
|
| |
launch process (null)" because we changed argv while doing argument
parsing.
llvm-svn: 167202
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
plists.
llvm-svn: 167183
|
|
|
|
| |
llvm-svn: 167182
|
|
|
|
| |
llvm-svn: 167175
|
|
|
|
| |
llvm-svn: 165856
|
|
|
|
|
|
| |
Fixed an issue where we would try to launch an application twice and the second failure would cover up the first.
llvm-svn: 165756
|
|
|
|
| |
llvm-svn: 165755
|
|
|
|
| |
llvm-svn: 164331
|
|
|
|
| |
llvm-svn: 164328
|
|
|
|
| |
llvm-svn: 164291
|
|
|
|
|
|
| |
Don't leak mach ports when calling "mach_thread_self()".
llvm-svn: 164152
|
|
|
|
|
|
| |
Some platforms don't support this modification.
llvm-svn: 164148
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
process termination, which can be useful to track
debugserver's delivery of signals.
llvm-svn: 162104
|
|
|
|
| |
llvm-svn: 161374
|
|
|
|
| |
llvm-svn: 161209
|
|
|
|
| |
llvm-svn: 160770
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 160655
|
|
|
|
|
|
| |
process if it exists OR wait for it" without race conditions. Use that in lldb.
llvm-svn: 160578
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 160391
|
|
|
|
| |
llvm-svn: 160338
|
|
|
|
|
|
|
|
|
|
| |
truncates the first chunk of the packet
between the two chars representing the checksum.
<rdar://problem/11882074>
llvm-svn: 160310
|
|
|
|
| |
llvm-svn: 160212
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Also remove our dependency on UIKit & AppKit.
Cleaned up the project files a bit.
<rdar://problem/11814498>
llvm-svn: 160147
|
|
|
|
| |
llvm-svn: 159798
|
|
|
|
| |
llvm-svn: 159466
|
|
|
|
|
|
| |
when hardware stepping should work but fails to get enabled. Also removing dead code paths
llvm-svn: 159322
|
|
|
|
| |
llvm-svn: 158995
|
|
|
|
|
|
| |
debugserver needs to be able to posix_spawn debugging apps that have ".app" in their path that aren't bundles
llvm-svn: 158327
|
|
|
|
|
|
| |
transaction management.
llvm-svn: 157878
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
revised debug state fails, we need to recover the local cache to the previous known state.
llvm-svn: 157778
|
|
|
|
| |
llvm-svn: 157664
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 156888
|
|
|
|
|
|
| |
<rdar://problem/10800927>
llvm-svn: 156883
|
|
|
|
|
|
|
|
| |
before calling CFArrayGetCount() on it.
rdar://problem/11331867
llvm-svn: 156562
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 155641
|
|
|
|
| |
llvm-svn: 155640
|