This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Selft tracing utility
- From: Bob Rossi <bob_rossi at cox dot net>
- To: Simon Toth <happy dot cerberus at gmail dot com>, g at cox dot net
- Cc: gdb at sourceware dot org
- Date: Sat, 3 Feb 2007 11:14:53 -0500
- Subject: Re: Selft tracing utility
- References: <45C4A331.1080801@gmail.com>
On Sat, Feb 03, 2007 at 03:58:57PM +0100, Simon Toth wrote:
> I'm currently extending the debug support for my programs and trying to
> find something that will dump the current call-stack.
You could just use this,
http://www.gnu.org/software/libc/manual/html_node/Backtraces.html
You can use addr2line to convert the address's it prints to source:line
numbers.
Bob Rossi