Debugging: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with 'This is a general page on debugging tools, techniques, tips, etc. == Linux tools == === addr2line === See addr2line page. === gdb === See gdb p…')
 
Line 16: Line 16:
void backtrace_symbols_fd (void *const *buffer, int size, int fd)
void backtrace_symbols_fd (void *const *buffer, int size, int fd)
</source>
</source>

=== libunwind (non-gnu) ===
* See http://www.nongnu.org/libunwind/docs.html

Revision as of 12:36, 30 September 2011

This is a general page on debugging tools, techniques, tips, etc.

Linux tools

addr2line

See addr2line page.

gdb

See gdb page.

C/C++ - Debugging with gcc

backtrace, backtrace_symbols, backtrace_symbols_fd

See manual page, or gcc manual.

int     backtrace            (void **      buffer, int size)
char ** backtrace_symbols    (void *const *buffer, int size)
void    backtrace_symbols_fd (void *const *buffer, int size, int fd)

libunwind (non-gnu)