Przeglądaj źródła

gdb stuff

master
anon 8 miesięcy temu
rodzic
commit
1bcd78a7c7
2 zmienionych plików z 2 dodań i 1 usunięć
  1. +1
    -0
      .gdbinit
  2. +1
    -1
      debug/regex.pretty_print.py

+ 1
- 0
.gdbinit Wyświetl plik

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

+ 1
- 1
debug/regex.pretty_print.py Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz