diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 5c04c36..3bb551a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1894,9 +1894,9 @@ GetGDBStoppointType (WatchpointLocation *wp) assert(watch_read || watch_write); if (watch_read && watch_write) return eWatchpointReadWrite; - if (watch_read) + else if (watch_read) return eWatchpointRead; - if (watch_write) + else // Must be watch_write, then. return eWatchpointWrite; } |
