summaryrefslogtreecommitdiff
path: root/solenv/gdb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-24 14:55:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-24 14:55:42 +0200
commit5aebe7b67c02051cb4fe98219cfe056efaf975a1 (patch)
tree0a062cb10d873a11eb20b8a9744553b74f08fd6c /solenv/gdb
parente0108fa4fc954f39ef56b841dceb6a2d27d5618c (diff)
More useful pretty printing of invalid fractions
Change-Id: I5e118182e146645ee8546c69edf21834117a1129
Diffstat (limited to 'solenv/gdb')
-rw-r--r--solenv/gdb/libreoffice/tl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gdb/libreoffice/tl.py b/solenv/gdb/libreoffice/tl.py
index 816de7b10db1..8fb337dc882e 100644
--- a/solenv/gdb/libreoffice/tl.py
+++ b/solenv/gdb/libreoffice/tl.py
@@ -68,7 +68,7 @@ class FractionPrinter(object):
if denominator > 0:
return "%d/%d" % (numerator, denominator)
else:
- return "invalid %s" % self.typename
+ return "invalid %s %d/%d" % (self.typename, numerator, denominator)
class DateTimeImpl(object):