This is an old revision of the document!
A collection of GDB scripts useful to print Kamailio's internals at runtime.
set $i=0 while($i<TABLE_ENTRIES) set $ehead = &_tm_table->entries[$i] set $tcell = _tm_table->entries[$i].next_c while($ehead!=(void*)$tcell) p $tcell p *$tcell set $tcell = $tcell->next_c; end set $i = $i + 1 end