Commit 9051350b authored by hjk's avatar hjk

Debugger: Remove SimpleValueCode from gdbbridge.py

This was left over from the first LLDB integration.

Change-Id: I99bf43d49d4a7650e1f1b2f572e264c1f234fd36
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 5306086e
...@@ -229,7 +229,6 @@ NamespaceCode = gdb.TYPE_CODE_NAMESPACE ...@@ -229,7 +229,6 @@ NamespaceCode = gdb.TYPE_CODE_NAMESPACE
#Code = gdb.TYPE_CODE_DECFLOAT # Decimal floating point. #Code = gdb.TYPE_CODE_DECFLOAT # Decimal floating point.
#Code = gdb.TYPE_CODE_MODULE # Fortran #Code = gdb.TYPE_CODE_MODULE # Fortran
#Code = gdb.TYPE_CODE_INTERNAL_FUNCTION #Code = gdb.TYPE_CODE_INTERNAL_FUNCTION
SimpleValueCode = -1
####################################################################### #######################################################################
...@@ -1436,8 +1435,7 @@ class Dumper(DumperBase): ...@@ -1436,8 +1435,7 @@ class Dumper(DumperBase):
or code == CharCode \ or code == CharCode \
or code == IntCode \ or code == IntCode \
or code == FloatCode \ or code == FloatCode \
or code == EnumCode \ or code == EnumCode
or code == SimpleValueCode
def simpleEncoding(self, typeobj): def simpleEncoding(self, typeobj):
code = typeobj.code code = typeobj.code
...@@ -1631,7 +1629,7 @@ class Dumper(DumperBase): ...@@ -1631,7 +1629,7 @@ class Dumper(DumperBase):
self.putNumChild(0) self.putNumChild(0)
return return
if type.code == IntCode or type.code == CharCode or type.code == SimpleValueCode: if type.code == IntCode or type.code == CharCode:
self.putType(typeName) self.putType(typeName)
if value.is_optimized_out: if value.is_optimized_out:
self.putValue("<optimized out>") self.putValue("<optimized out>")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment