diff options
| author | Stephen Wilson <wilsons@start.ca> | 2011-01-19 01:35:00 +0000 |
|---|---|---|
| committer | Stephen Wilson <wilsons@start.ca> | 2011-01-19 01:35:00 +0000 |
| commit | 02e8f8fdc9a32bc2c3621840de1ca0b3df8b1d5e (patch) | |
| tree | 2b45ea4b9f86481b43e630560f166fe438a7ec8a /lldb/source/Plugins/Process/Linux | |
| parent | cd69a9ab169ee549e770eaacd41ed1946f065324 (diff) | |
| download | bcm5719-llvm-02e8f8fdc9a32bc2c3621840de1ca0b3df8b1d5e.tar.gz bcm5719-llvm-02e8f8fdc9a32bc2c3621840de1ca0b3df8b1d5e.zip | |
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.
llvm-svn: 123800
Diffstat (limited to 'lldb/source/Plugins/Process/Linux')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/LinuxThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/LinuxThread.cpp b/lldb/source/Plugins/Process/Linux/LinuxThread.cpp index de1ca5124b0..b7b2df1ec5b 100644 --- a/lldb/source/Plugins/Process/Linux/LinuxThread.cpp +++ b/lldb/source/Plugins/Process/Linux/LinuxThread.cpp @@ -153,7 +153,7 @@ LinuxThread::Resume() case lldb::eStateStepping: SetState(resume_state); - status = GetRegisterContext()->HardwareSingleStep(true); + status = monitor.SingleStep(GetID()); break; } |

