Commit 7fd586d7 authored by hjk's avatar hjk
Browse files

Debugger: Avoid Linux/LLDB crash when looking up "void"



Change-Id: Idd719906263e6bb72b0d72308ed37c34c657c876
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 3d183d95
......@@ -63,8 +63,6 @@ DisplayUtf8String \
= range(7)
def lookupType(name):
if name == "void":
return voidType
if name == "char":
return charType
if name == "char *":
......@@ -871,8 +869,7 @@ class Debugger:
def reportData(self, _ = None):
# Hack.
global charPtrType, charType, voidType
voidType = self.target.GetModuleAtIndex(0).FindFirstType('void')
global charPtrType, charType
charType = self.target.GetModuleAtIndex(0).FindFirstType('char')
charPtrType = charType.GetPointerType()
......
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