Skip to content

Commit 978c1f7

Browse files
committed
also fixed gdb related stuff
1 parent 03d96e6 commit 978c1f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Loading Nim Runtime support.
2-
NimEnumPrinter: lookup global symbol 'NTI_z9cu80OJCfNgw9bUdzn5ZEzw_ failed for tyEnum_MyOtherEnum_z9cu80OJCfNgw9bUdzn5ZEzw.
2+
NimEnumPrinter: lookup global symbol 'NTI__z9cu80OJCfNgw9bUdzn5ZEzw_ failed for tyEnum_MyOtherEnum__z9cu80OJCfNgw9bUdzn5ZEzw.
33
8

tools/nim-gdb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def reprEnum(e, typ):
340340
return str(e) + " (invalid data!)"
341341

342342
class NimEnumPrinter:
343-
pattern = re.compile(r'^tyEnum_(\w*)_([A-Za-z0-9]*)$')
343+
pattern = re.compile(r'^tyEnum_(\w*)__([A-Za-z0-9]*)$')
344344

345345
def __init__(self, val):
346346
self.val = val

0 commit comments

Comments
 (0)