Browse Source

gdb stuff

master
anon 8 months ago
parent
commit
1bcd78a7c7
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      .gdbinit
  2. +1
    -1
      debug/regex.pretty_print.py

+ 1
- 0
.gdbinit View File

@@ -0,0 +1 @@
source debug/regex.pretty_print.py

+ 1
- 1
debug/regex.pretty_print.py View File

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


Loading…
Cancel
Save