gdb stuff
This commit is contained in:
parent
1bcd78a7c7
commit
593ba59cc4
3
debug/examine_regex.gdb
Normal file
3
debug/examine_regex.gdb
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
break regex_assert
|
||||||
|
run < tests/comment.input
|
||||||
|
print * regex
|
@ -27,7 +27,7 @@ class RegexPrinter:
|
|||||||
# Offshoot
|
# Offshoot
|
||||||
offshoot_t_ptr_ptr = gdb.lookup_type("offshoot_t").pointer().pointer()
|
offshoot_t_ptr_ptr = gdb.lookup_type("offshoot_t").pointer().pointer()
|
||||||
dt = self.val['catch_table']
|
dt = self.val['catch_table']
|
||||||
s += "offshoot_table = {\n"
|
s += "offshoot_table = { \n"
|
||||||
for i in range(0, dt['element_count']):
|
for i in range(0, dt['element_count']):
|
||||||
s += "\t"
|
s += "\t"
|
||||||
s += (
|
s += (
|
||||||
|
Loading…
Reference in New Issue
Block a user