summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-08-18 09:52:38 +0200
committerhjk <qtc-committer@nokia.com>2010-08-18 09:52:55 +0200
commitdc804c69e5eaa856a538b8af4649bf59fce10339 (patch)
treeb98b9dd6991dd80fe56ff7dd6caef0f0bbe7ee61
parentffdd4110ae4d366e80e1e3ea207624d8ecc9fde3 (diff)
downloadqt-creator-dc804c69e5eaa856a538b8af4649bf59fce10339.tar.gz
debugger: python needs no semicolons
-rw-r--r--share/qtcreator/gdbmacros/dumper.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index 8691296879..9b864a4f0c 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -305,7 +305,7 @@ class Children:
if self.d.passExceptions and not exType is None:
showException("CHILDREN", exType, exValue, exTraceBack)
if self.d.currentMaxNumChilds < self.d.currentNumChilds:
- self.d.putEllipsis();
+ self.d.putEllipsis()
self.d.currentChildType = self.savedChildType
self.d.currentChildNumChild = self.savedChildNumChild
self.d.currentNumChilds = self.savedNumChilds
@@ -429,8 +429,8 @@ def listOfLocals(varList):
hasBlock = 'block' in __builtin__.dir(frame)
items = []
- #warn("HAS BLOCK: %s" % hasBlock);
- #warn("IS GOOD GDB: %s" % isGoodGdb());
+ #warn("HAS BLOCK: %s" % hasBlock)
+ #warn("IS GOOD GDB: %s" % isGoodGdb())
if hasBlock and isGoodGdb():
#warn("IS GOOD: %s " % varList)
try:
@@ -857,7 +857,7 @@ class SetupCommand(gdb.Command):
for key, value in module.__dict__.items():
if key.startswith("qdump__"):
name = key[7:]
- qqFormats[name] = qqFormats.get(name, "");
+ qqFormats[name] = qqFormats.get(name, "")
elif key.startswith("qform__"):
name = key[7:]
formats = ""
@@ -982,7 +982,7 @@ class FrameCommand(gdb.Command):
d.put('addr="<not accessible>",')
d.put('value="<not accessible>",')
d.put('type="%s",' % item.value.type)
- d.put('numchild="0"');
+ d.put('numchild="0"')
continue
type = item.value.type
@@ -1054,7 +1054,7 @@ class FrameCommand(gdb.Command):
def handleWatch(self, d, exp, iname):
exp = str(exp)
- escapedExp = exp.replace('"', '\\"');
+ escapedExp = exp.replace('"', '\\"')
#warn("HANDLING WATCH %s, INAME: '%s'" % (exp, iname))
if exp.startswith("[") and exp.endswith("]"):
#warn("EVAL: EXP: %s" % exp)
@@ -1303,7 +1303,7 @@ class Dumper:
return
# FIXME: Gui shows references stripped?
- #warn(" ");
+ #warn(" ")
#warn("REAL INAME: %s " % item.iname)
#warn("REAL NAME: %s " % name)
#warn("REAL TYPE: %s " % item.value.type)