diff options
author | James <james.l.davis@outlook.com> | 2015-04-14 21:40:23 +0300 |
---|---|---|
committer | James <james.l.davis@outlook.com> | 2015-04-14 21:40:23 +0300 |
commit | 63e7f0cee2586366c695190cb9b39aecbc5b9f5b (patch) | |
tree | a681fb088785b622be74022b7e0d1257ddb19282 /data | |
parent | e2c8f3727e4f191aa3974a13c907b58d31a4c12c (diff) |
Corrected mono-gdb.py use of "\u%X".format (val)
This line of code would cause an error to pop up in gdb when starting.
Diffstat (limited to 'data')
-rw-r--r-- | data/gdb/mono-gdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/gdb/mono-gdb.py b/data/gdb/mono-gdb.py index ce34d357f64..f4dcfe72c09 100644 --- a/data/gdb/mono-gdb.py +++ b/data/gdb/mono-gdb.py @@ -31,7 +31,7 @@ class StringPrinter: while i < len: val = (chars.cast(gdb.lookup_type ("gint64")) + (i * 2)).cast(gdb.lookup_type ("gunichar2").pointer ()).dereference () if val >= 256: - c = "\u%X".format (val) + c = unichr (val) else: c = chr (val) res.append (c) |