Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--agent/tcf/framework/context.h3
-rw-r--r--agent/tcf/services/breakpoints.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/agent/tcf/framework/context.h b/agent/tcf/framework/context.h
index 8274b2fd..7ac0f1e9 100644
--- a/agent/tcf/framework/context.h
+++ b/agent/tcf/framework/context.h
@@ -451,7 +451,8 @@ struct ContextBreakpoint {
#define CTX_BP_ACCESS_DATA_READ 0x01
#define CTX_BP_ACCESS_DATA_WRITE 0x02
#define CTX_BP_ACCESS_INSTRUCTION 0x04
-#define CTX_BP_ACCESS_VIRTUAL 0x08
+#define CTX_BP_ACCESS_CHANGE 0x08
+#define CTX_BP_ACCESS_VIRTUAL 0x10
/*
* Return bitmask of supported CTX_BP_ACCESS_* values.
diff --git a/agent/tcf/services/breakpoints.c b/agent/tcf/services/breakpoints.c
index 46e830ee..c6f19e3e 100644
--- a/agent/tcf/services/breakpoints.c
+++ b/agent/tcf/services/breakpoints.c
@@ -2142,6 +2142,7 @@ static void command_get_capabilities(char * token, Channel * c) {
if (ctx != NULL) {
int md = CTX_BP_ACCESS_INSTRUCTION;
md |= context_get_supported_bp_access_types(ctx);
+ md &= ~CTX_BP_ACCESS_VIRTUAL;
write_stream(&c->out, ',');
json_write_string(&c->out, "AccessMode");
write_stream(&c->out, ':');

Back to the top