浏览代码

gdb stuff

master
anon 9 个月前
父节点
当前提交
593ba59cc4
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. +3
    -0
      debug/examine_regex.gdb
  2. +1
    -1
      debug/regex.pretty_print.py

+ 3
- 0
debug/examine_regex.gdb 查看文件

@@ -0,0 +1,3 @@
break regex_assert
run < tests/comment.input
print * regex

+ 1
- 1
debug/regex.pretty_print.py 查看文件

@@ -27,7 +27,7 @@ class RegexPrinter:
# Offshoot
offshoot_t_ptr_ptr = gdb.lookup_type("offshoot_t").pointer().pointer()
dt = self.val['catch_table']
s += "offshoot_table = {\n"
s += "offshoot_table = { \n"
for i in range(0, dt['element_count']):
s += "\t"
s += (


正在加载...
取消
保存