소스 검색

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 += (


불러오는 중...
취소
저장