Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correct an oversight. Thanks Ingo!

  • Loading branch information...
commit 22fc56ce8c63d7b52d6bf2f8e0483413e57e62cd 1 parent 4f9eec7
@anevilyak anevilyak authored
View
3  src/apps/debugger/arch/Architecture.h
@@ -40,7 +40,8 @@ enum {
enum {
WATCHPOINT_CAPABILITY_FLAG_READ = 1,
- WATCHPOINT_CAPABILITY_FLAG_WRITE = 2
+ WATCHPOINT_CAPABILITY_FLAG_WRITE = 2,
+ WATCHPOINT_CAPABILITY_FLAG_READ_WRITE = 4
};
View
5 src/apps/debugger/arch/x86/ArchitectureX86.cpp
@@ -620,8 +620,9 @@ ArchitectureX86::GetWatchpointDebugCapabilities(int32& _maxRegisterCount,
// two available for watchpoints.
_maxRegisterCount = 2;
- // x86 only supports write watchpoints.
- _watchpointCapabilityFlags = WATCHPOINT_CAPABILITY_FLAG_WRITE;
+ // x86 only supports write and read/write watchpoints.
+ _watchpointCapabilityFlags = WATCHPOINT_CAPABILITY_FLAG_WRITE
+ | WATCHPOINT_CAPABILITY_FLAG_READ_WRITE;
return B_OK;
}
Please sign in to comment.
Something went wrong with that request. Please try again.