]> git.xolatile.top Git - public-libhl.git/commitdiff
gdb stuff
authoranon <anon@anon.anon>
Sun, 27 Aug 2023 21:31:02 +0000 (23:31 +0200)
committeranon <anon@anon.anon>
Sun, 27 Aug 2023 21:31:02 +0000 (23:31 +0200)
.gdbinit [new file with mode: 0644]
debug/regex.pretty_print.py

diff --git a/.gdbinit b/.gdbinit
new file mode 100644 (file)
index 0000000..c2e236b
--- /dev/null
+++ b/.gdbinit
@@ -0,0 +1 @@
+source debug/regex.pretty_print.py
index 86ac1b0b7ef1cb5fe6678e18bfa45f3c46db061a..d18ca89f6655942891c9493ea8a8a57a32098dfd 100644 (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"