diff options
author | eutarass | 2011-05-11 16:07:35 +0000 |
---|---|---|
committer | eutarass | 2011-05-11 16:07:35 +0000 |
commit | 747798ab4cd63619c72bb0905bf7ed5c8367c7fb (patch) | |
tree | 09b860c73375594c6e91159d99e0fe5046efdc05 | |
parent | 09b16cd3bca0e1d71a3b3655f5a9fa7f265fbcfa (diff) | |
download | org.eclipse.tcf.agent-747798ab4cd63619c72bb0905bf7ed5c8367c7fb.tar.gz org.eclipse.tcf.agent-747798ab4cd63619c72bb0905bf7ed5c8367c7fb.tar.xz org.eclipse.tcf.agent-747798ab4cd63619c72bb0905bf7ed5c8367c7fb.zip |
TCF Tests: fixed: diagnostic tests fail to check target support of data breakpoints.
-rw-r--r-- | services/breakpoints.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/breakpoints.c b/services/breakpoints.c index 52068c73..80094b6a 100644 --- a/services/breakpoints.c +++ b/services/breakpoints.c @@ -1916,10 +1916,12 @@ static void command_get_capabilities(char * token, Channel * c) { write_stream(&c->out, ':'); json_write_boolean(&c->out, 1); if (ctx != NULL) { + int md = CTX_BP_ACCESS_INSTRUCTION; + md |= context_get_supported_bp_access_types(ctx); write_stream(&c->out, ','); json_write_string(&c->out, "AccessMode"); write_stream(&c->out, ':'); - json_write_long(&c->out, context_get_supported_bp_access_types(ctx)); + json_write_long(&c->out, md); } write_stream(&c->out, ','); json_write_string(&c->out, "ContextIds"); |