diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-09-18 09:04:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-18 09:04:37 +0200 |
commit | 638a4d9d9fdec0f0d22f86eae872422b97be0159 (patch) | |
tree | a172ee5164c88065c193757e7f64e3eadac5f108 /tools | |
parent | 93f74e4f937ac84e4fbac47f3c7e35c58f849301 (diff) | |
download | Nim-638a4d9d9fdec0f0d22f86eae872422b97be0159.tar.gz |
rename cast opcodes, fix for 32bit cast, fix python pretty printer (#12207)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/nim-gdb.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/nim-gdb.py b/tools/nim-gdb.py index 7804ad6e5..76c504658 100644 --- a/tools/nim-gdb.py +++ b/tools/nim-gdb.py @@ -285,7 +285,7 @@ class NimStringPrinter: return "" class NimRopePrinter: - pattern = re.compile(r'^tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA \*$') + pattern = re.compile(r'^tyObject_RopeObj__([A-Za-z0-9]*) \*$') def __init__(self, val): self.val = val @@ -398,7 +398,7 @@ class NimSetPrinter: ################################################################################ class NimHashSetPrinter: - pattern = re.compile(r'^tyObject_(HashSet)_([A-Za-z0-9]*)$') + pattern = re.compile(r'^tyObject_(HashSet)__([A-Za-z0-9]*)$') def __init__(self, val): self.val = val @@ -475,7 +475,7 @@ class NimArrayPrinter: ################################################################################ class NimStringTablePrinter: - pattern = re.compile(r'^tyObject_(StringTableObj)_([A-Za-z0-9]*)(:? \*)?$') + pattern = re.compile(r'^tyObject_(StringTableObj)__([A-Za-z0-9]*)(:? \*)?$') def __init__(self, val): self.val = val @@ -504,7 +504,7 @@ class NimStringTablePrinter: ################################################################ class NimTablePrinter: - pattern = re.compile(r'^tyObject_(Table)_([A-Za-z0-9]*)(:? \*)?$') + pattern = re.compile(r'^tyObject_(Table)__([A-Za-z0-9]*)(:? \*)?$') def __init__(self, val): self.val = val |