User Tools

Site Tools


devel:troubleshooting-gdb-scripts

This is an old revision of the document!


Troubleshooting - GDB Snippets

A collection of GDB scripts useful to print Kamailio's internals at runtime.

TM Module

Transaction Structures

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
devel/troubleshooting-gdb-scripts.1504618761.txt.gz · Last modified: 2017/09/05 15:39 by miconda