Commit aefea10c authored by hjk's avatar hjk

Debugger: comment out workaround for old gdb problem

http://sourceware.org/bugzilla/show_bug.cgi?id=11777 has been fixed
for a while.

Change-Id: I0cba25a7a27f011d0951ece69bfefe9eac6f8e64
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent e6c0c292
......@@ -802,27 +802,28 @@ def stripTypedefs(type):
return type
def extractFields(type):
# Insufficient, see http://sourceware.org/bugzilla/show_bug.cgi?id=10953:
return type.fields()
## Insufficient, see http://sourceware.org/bugzilla/show_bug.cgi?id=10953:
##fields = type.fields()
## Insufficient, see http://sourceware.org/bugzilla/show_bug.cgi?id=11777:
##fields = defsype).fields()
## This seems to work.
##warn("TYPE 0: %s" % type)
#type = stripTypedefs(type)
#fields = type.fields()
# Insufficient, see http://sourceware.org/bugzilla/show_bug.cgi?id=11777:
#fields = defsype).fields()
# This seems to work.
#warn("TYPE 0: %s" % type)
type = stripTypedefs(type)
fields = type.fields()
if len(fields):
return fields
#warn("TYPE 1: %s" % type)
# This fails for arrays. See comment in lookupType.
type0 = lookupType(str(type))
if not type0 is None:
type = type0
if type.code == FunctionCode:
return []
#warn("TYPE 2: %s" % type)
fields = type.fields()
#warn("FIELDS: %s" % fields)
return fields
#if len(fields):
# return fields
##warn("TYPE 1: %s" % type)
## This fails for arrays. See comment in lookupType.
#type0 = lookupType(str(type))
#if not type0 is None:
# type = type0
#if type.code == FunctionCode:
# return []
##warn("TYPE 2: %s" % type)
#fields = type.fields()
##warn("FIELDS: %s" % fields)
#return fields
#######################################################################
#
......
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