Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Perrin2012-02-24 03:24:14 -0500
committerAnton Leherbauer2012-02-24 03:24:14 -0500
commite29a28376424d9b5488a79e60a92fedd45eff300 (patch)
tree1304cd8338960990fb268ffdb0dbffbb485f1134 /python/src/tcf/services/expressions.py
parent170184b56da3a5100db3bb438d59db985b4e82ba (diff)
downloadorg.eclipse.tcf-e29a28376424d9b5488a79e60a92fedd45eff300.tar.gz
org.eclipse.tcf-e29a28376424d9b5488a79e60a92fedd45eff300.tar.xz
org.eclipse.tcf-e29a28376424d9b5488a79e60a92fedd45eff300.zip
TCF Python: Bug 372346 - Missing service support for Expressions and
Symbols
Diffstat (limited to 'python/src/tcf/services/expressions.py')
-rw-r--r--python/src/tcf/services/expressions.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/python/src/tcf/services/expressions.py b/python/src/tcf/services/expressions.py
index 5b32a1c30..8ff7b323a 100644
--- a/python/src/tcf/services/expressions.py
+++ b/python/src/tcf/services/expressions.py
@@ -1,5 +1,5 @@
# *******************************************************************************
-# * Copyright (c) 2011 Wind River Systems, Inc. and others.
+# * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License v1.0
# * which accompanies this distribution, and is available at
@@ -153,6 +153,13 @@ class Value(object):
"""
return self._props.get(VAL_BIG_ENDIAN)
+ def getAddress(self):
+ """
+ Get the value address if one exists.
+ @return The value address or None if none address exists for the value
+ """
+ return self._props.get(VAL_ADDRESS)
+
def getValue(self):
"""
Get value as array of bytes.
@@ -170,6 +177,9 @@ class Value(object):
# Expression value property names.
VAL_CLASS = "Class"
VAL_TYPE = "Type"
+VAL_SYMBOL = "Symbol"
+VAL_REGISTER = "Register"
+VAL_ADDRESS = "Address"
VAL_BIG_ENDIAN = "BigEndian"
class ExpressionsService(services.Service):

Back to the top