On Thu, Dec 24, 2009 at 01:12:58PM +0100, Kristijan Vrban wrote:
> super quick asterisk in gdb howto:
>
> compile asterisk with DONT_OPTIMIZE (in make menuconfig -> Compiler flags)
which changes the behaviour of your code. Rebuilding is not always an
option.
If using Asterisk from a package, be sure to install debug symbols. e.g.
package asterisk-dbg or asterisk-debuginfo .
> gdb asterisk
> run -cvvvvvvvvvv
> wait for the crash
or, grab a core file, and:
gdb -c core.file /usr/sbin/asterisk
> bt
> bt full
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users