Skip to content
Commit ec6a2d31 authored by Johnny Chen's avatar Johnny Chen
Browse files

Add logic to MachThreadList::GetThreadID() for the use case of setting a watchpoint

(MachThreadList::EnableHardwareWatchpoint()) where the watchpoint is not associated
with a thread and the current thread, if set, is returned, otherwise we return the
first thread.

Plus minor change to RNBRemote::HandlePacket_z() to use the existing macros to check
the validity of break_id/watch_id.

llvm-svn: 139246
parent 02f2f89a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment