aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-04-05 15:32:50 +0200
committerhjk <hjk@theqtcompany.com>2016-04-06 06:08:45 +0000
commit5daeb5da01de7b4139693c6dcf72d4405de80c78 (patch)
treea188cdd59789794b17b3d086ab93d373cee7a481 /share
parentc11e58f8f580867163cc176fa9eb5460d7247fe5 (diff)
Debugger: Fix LLDB operations with XCode 7.3's lldb-350.0.21.3
The output of lldb changed. Adapt our use. Task-number: QTCREATORBUG-15965 Task-number: QTCREATORBUG-15945 Task-number: QTCREATORBUG-15949 Change-Id: Ic78593c1a7c4ae69ecf23e381cd2f23441b4829b Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/debugger/dumper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py
index fca39aedd8..2626cbfb37 100644
--- a/share/qtcreator/debugger/dumper.py
+++ b/share/qtcreator/debugger/dumper.py
@@ -427,6 +427,8 @@ class DumperBase:
# Hex encoding operating on str or bytes, return str.
def hexencode(self, s):
+ if s is None:
+ s = ''
if sys.version_info[0] == 2:
return s.encode("hex")
if isinstance(s, str):