[asterisk-dev] [Code Review] Provide better inline backtraces

Tilghman Lesher reviewboard at asterisk.org
Fri Dec 10 18:13:49 UTC 2010

This is an automatically generated e-mail. To reply, visit:

(Updated 2010-12-10 12:13:49.627277)

Review request for Asterisk Developers.


Presently, we rely upon backtrace_symbols(3) within glibc to provide the symbols when doing an ast_backtrace().  There is better information already available within our binary.  If we use gdb, we're able to access this information.  The main benefit is being able to see local symbols in each file, instead of only global API handles.

Diffs (updated)

  /branches/1.4/makeopts.in 297774 
  /branches/1.4/main/utils.c 297774 
  /branches/1.4/main/pbx.c 297774 
  /branches/1.4/main/logger.c 297774 
  /branches/1.4/main/Makefile 297774 
  /branches/1.4/build_tools/cflags-devmode.xml 297774 
  /branches/1.4/build_tools/menuselect-deps.in 297774 
  /branches/1.4/configure UNKNOWN 
  /branches/1.4/configure.ac 297774 
  /branches/1.4/include/asterisk/autoconfig.h.in 297774 
  /branches/1.4/include/asterisk/utils.h 297774 

Diff: https://reviewboard.asterisk.org/r/1055/diff


Now provides excellent information, including file, line, and function name.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20101210/65212778/attachment.htm 

More information about the asterisk-dev mailing list