Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-12-02 21:06:17 +0000
committerEugene Tarassov2014-12-02 21:06:17 +0000
commit1af634cfb5c358130c53650e6480f1b406fa1a55 (patch)
treea33a798ac16863f7f697da0e1ba074ef58b057c2
parenta8487e6546170060e554b0d253b7de6a2c267cce (diff)
downloadorg.eclipse.tcf.agent-1af634cfb5c358130c53650e6480f1b406fa1a55.tar.gz
org.eclipse.tcf.agent-1af634cfb5c358130c53650e6480f1b406fa1a55.tar.xz
org.eclipse.tcf.agent-1af634cfb5c358130c53650e6480f1b406fa1a55.zip
Bug 451283 - TCF debugger does not support native complex types
-rw-r--r--agent/tcf/services/expressions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/tcf/services/expressions.c b/agent/tcf/services/expressions.c
index 0008a333..820bcc5b 100644
--- a/agent/tcf/services/expressions.c
+++ b/agent/tcf/services/expressions.c
@@ -3027,7 +3027,7 @@ static void multiplicative_expression(int mode, Value * v) {
switch (sy) {
case '*':
r_value =
- to_r_double(mode, v) * to_r_double(mode, &x) +
+ to_r_double(mode, v) * to_r_double(mode, &x) -
to_i_double(mode, v) * to_i_double(mode, &x);
i_value =
to_r_double(mode, v) * to_i_double(mode, &x) +
@@ -3041,7 +3041,7 @@ static void multiplicative_expression(int mode, Value * v) {
(to_r_double(mode, v) * to_r_double(mode, &x) +
to_i_double(mode, v) * to_i_double(mode, &x)) / d;
i_value =
- (to_i_double(mode, v) * to_r_double(mode, &x) +
+ (to_i_double(mode, v) * to_r_double(mode, &x) -
to_r_double(mode, v) * to_i_double(mode, &x)) / d;
break;
default:

Back to the top