devel:troubleshooting-gdb-scripts
This is an old revision of the document!
Table of Contents
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
Memory
devel/troubleshooting-gdb-scripts.1504618831.txt.gz · Last modified: 2017/09/05 13:40 by miconda