[Lldb-commits] [lldb] r123800 - /lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
Stephen Wilson
wilsons at start.ca
Tue Jan 18 17:35:00 PST 2011
Author: wilsons
Date: Tue Jan 18 19:35:00 2011
New Revision: 123800
URL: http://llvm.org/viewvc/llvm-project?rev=123800&view=rev
Log:
Do not enable hardware stepping when resuming a step-enabled thread.
The previous implementation of HardwareSingleStep wrongly resumed the thread and
single-stepped over the next instruction. Use the proper call to ProcessMonitor.
Modified:
lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp?rev=123800&r1=123799&r2=123800&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp Tue Jan 18 19:35:00 2011
@@ -153,7 +153,7 @@
case lldb::eStateStepping:
SetState(resume_state);
- status = GetRegisterContext()->HardwareSingleStep(true);
+ status = monitor.SingleStep(GetID());
break;
}
More information about the lldb-commits
mailing list