Correct an oversight. Thanks Ingo!
This commit is contained in:
parent
4f9eec722c
commit
22fc56ce8c
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user