A Total Overhaul on the Lunaix's Virtual Memory Model (#26)
[lunaix-os.git] / lunaix-os / scripts / gdb / lunadbg / syslog.py
index e8a56c42a16a2b4c0a4f9c00dda70b22f575d3ba..b7948d41c844492ca3095bc8bdc17364782e5b53 100644 (file)
@@ -21,4 +21,4 @@ class SysLogDump(gdb.Command):
         head = log_recs.deref_and_access("kp_ents.ents").address
 
         ent_type = gdb.lookup_type("struct kp_entry").pointer()
-        llist_foreach(head, ent_type, "ents", lambda a,b: self.syslog_entry_callback(a, b))
\ No newline at end of file
+        llist_foreach(head, ent_type, "ents", lambda a,b: self.syslog_entry_callback(a, b), inclusive=False)
\ No newline at end of file