Ver código fonte

gdb stuff

master
anon 8 meses atrás
pai
commit
1bcd78a7c7
2 arquivos alterados com 2 adições e 1 exclusões
  1. +1
    -0
      .gdbinit
  2. +1
    -1
      debug/regex.pretty_print.py

+ 1
- 0
.gdbinit Ver arquivo

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

+ 1
- 1
debug/regex.pretty_print.py Ver arquivo

@@ -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"


Carregando…
Cancelar
Salvar